We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b67c46d + bc52d5a commit ab29ddbCopy full SHA for ab29ddb
2 files changed
.changeset/three-ducks-do.md
@@ -0,0 +1,5 @@
1
+---
2
+"@genseki/ui": patch
3
4
+
5
+[Fix] UI: change DropZoneEmptyUploadButton from span to button for better accessibility
packages/ui/src/components/primitives/drop-zone.tsx
@@ -264,10 +264,10 @@ export const DropZoneEmptyUploadButton = ({
264
className
265
)}
266
children={
267
- <span>
+ <button>
268
<PaperclipIcon />
269
<span>Upload {maxFiles === 1 ? 'a file' : 'files'}</span>
270
- </span>
+ </button>
271
}
272
{...props}
273
/>
0 commit comments