Skip to content

Interactive Controls must not be nested accessibility issue #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pdfabbro opened this issue Apr 22, 2025 · 0 comments
Open

Interactive Controls must not be nested accessibility issue #157

pdfabbro opened this issue Apr 22, 2025 · 0 comments

Comments

@pdfabbro
Copy link

When you run axe devTools on the file upload component it complains with "Interactive controls must not be nested" due to the label element having role="button" on it. This combined with the hidden input field lead to the accessibility issue. role="button" should be removed from the label. Either that or we should be able to override this property if we provide a custom button as children

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant