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

need to flag use of aria-selected on option element #26

Closed
scottaohara opened this issue Mar 9, 2021 · 2 comments
Closed

need to flag use of aria-selected on option element #26

scottaohara opened this issue Mar 9, 2021 · 2 comments

Comments

@scottaohara
Copy link
Contributor

using aria-selected on a native <option> element doesn't actually do anything and the native selected attribute / functionality of the control always wins out.

developers shouldn't use the attribute on the native option element
https://w3c.github.io/html-aria/tests/option-aria-select.html

@gezlemon
Copy link
Contributor

gezlemon commented Mar 9, 2021

Added check for aria-selected being used on native option elements

@scottaohara
Copy link
Contributor Author

verified

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