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

mwc-select fails chrome a11y check for aria attributes #1237

Closed
e111077 opened this issue Apr 29, 2020 · 2 comments
Closed

mwc-select fails chrome a11y check for aria attributes #1237

e111077 opened this issue Apr 29, 2020 · 2 comments
Assignees
Labels
Type: Bug Something isn't working

Comments

@e111077
Copy link
Contributor

e111077 commented Apr 29, 2020

Describe the bug

Chrome lighthouse a11y audit fails on select with the following error:

[aria-*] attributes do not match their roles

To Reproduce
Steps to reproduce the behavior:

  1. Open select demo
  2. run accessibility audit in chrome

Expected behavior

no audit failure

@e111077 e111077 added Type: Bug Something isn't working Component: Select labels Apr 29, 2020
@e111077 e111077 self-assigned this Apr 29, 2020
@e111077 e111077 changed the title Select a11y issues with aria-required on the wrong role mwc-select fails chrome a11y check for aria attributes Apr 30, 2020
@e111077
Copy link
Contributor Author

e111077 commented Apr 30, 2020

We've decided to move onto a spec change proposal as Voice Over will not announce on role="listbox". Also required will not announce on either NVDA or Voice Over unless the listbox is expanded. This means tabbing over a select will not announce "required" when in a form.

@e111077 e111077 closed this as completed Apr 30, 2020
@e111077
Copy link
Contributor Author

e111077 commented Apr 30, 2020

Related: w3c/aria#1253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant