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

Avoid unnecessary listbox attribute #1380

Closed
wants to merge 1 commit into from

Conversation

mydea
Copy link
Contributor

@mydea mydea commented Jul 3, 2020

There is role='listbox' declared on some lists that don't need it. In fact axe complains about them. This is easily fixed by simply removing the role, which doesn't improve accessibility in this case anyhow - this can simply be a normal <ul> list.

@mydea
Copy link
Contributor Author

mydea commented Jul 3, 2020

Hmm, this is actually not correct. I think the actual issue was that the lisboxes where missing id and a label (e.g. aria-label). I have instead added this to this PR:
#1306

@mydea mydea closed this Jul 3, 2020
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

Successfully merging this pull request may close these issues.

1 participant