We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A menu item, acting as a submenu given a role of menuitem should have an aria-expanded attribute. I am being thrown an error when I do this.
menuitem
aria-expanded
Something like this raises an error:
<ul role="menubar"> <li> <a role="menuitem" aria-expanded="false" href="someurl.com">Some URL</a> <ul role="menu"> <li><a href="https://google.com">Google.com</a></li> <li><a href="https://github.com">Github.com</a></li> </ul> </li> </ul>
The attribute aria-expanded is not supported by the role menuitem.
According to w3c/aria#454 this is valid aria spec.
This is also shown on an example on W2 https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html
The text was updated successfully, but these errors were encountered:
Any progress here?
Sorry, something went wrong.
This error does not occur in v6.3.x.
jessebeach
No branches or pull requests
A menu item, acting as a submenu given a role of
menuitem
should have anaria-expanded
attribute. I am being thrown an error when I do this.Something like this raises an error:
According to w3c/aria#454 this is valid aria spec.
This is also shown on an example on W2
https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/menubar-1.html
The text was updated successfully, but these errors were encountered: