-
Notifications
You must be signed in to change notification settings - Fork 30
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
The attribute aria-expanded is not supported by the role menuitem. #76
Comments
@jlurena thanks for reporting this. I will investigate and get back to you. |
Specific aria-spec: https://www.w3.org/TR/wai-aria-practices-1.1/#menu |
Was this fixed? @JKODU |
Thanks for this issue. It looks like The latest version of axe-core v4.0.2 does not throw an issue for the above code snippet either. I would recommend moving to the latest version of |
@jlurena feel free to re-open the issue, if you need further input. |
Please see the same issue I posted here https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/630
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: