Skip to content
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

File uploader accessibility issue #1316

Closed
travis1111 opened this issue Apr 21, 2022 · 0 comments
Closed

File uploader accessibility issue #1316

travis1111 opened this issue Apr 21, 2022 · 0 comments

Comments

@travis1111
Copy link
Contributor

Detailed description

Run IBM Equal Access Accessibility Checker on the drag and drop file uploader, result the folloding

ARIA roles must be valid for the element to which they are assigned
Violation
The ARIA role 'button' is not valid for the element

<label
    class="bx--file-browse-btn"
    tabindex="0"
    role="button"
    for="uid-87ba544b-12b1-4530-a034-cb6ef45f0571">

Remove role=button resolves the issue

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

2 participants