You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Dropzone component produces <div role="presentation" tabindex="0"> for the root element, which as I've explained in this comment on react-dropzone's repo, is a bad idea accessibility-wise. I tried to overwrite it to role="button" on the Dropzone component, to no avail.
I think it'd be quite nice if Mantine shipped this component with role="button" by default, but in any case I think the role override should be possible.
What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.1.3
If possible, please include a link to a codesandbox with the reproduced problem
What package has an issue
@mantine/dropzone
Describe the bug
The Dropzone component produces
<div role="presentation" tabindex="0">
for the root element, which as I've explained in this comment on react-dropzone's repo, is a bad idea accessibility-wise. I tried to overwrite it torole="button"
on theDropzone
component, to no avail.I think it'd be quite nice if Mantine shipped this component with
role="button"
by default, but in any case I think therole
override should be possible.What version of @mantine/* packages do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.1.3
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/flamboyant-glitter-pqqhrn
Do you know how to fix the issue
None
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response
The text was updated successfully, but these errors were encountered: