-
-
Notifications
You must be signed in to change notification settings - Fork 797
Closed
Labels
Description
I have noticed that when using useDropzone
the root element don't get any role or aria-label.
Because the root element gets to be focusable and essentially works as a button, it could be a good idea to use the role attribute to make screenreaders read it out as a button.
That together with a label prop in useDropzone
that set a aria-label on the root element so it will be read out like a button action.
In short.
Add role=button and aria-label in root props