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

role="menuitem" does not support aria-expanded in ARIA 1.1, but the authoring practices requires this #608

Closed
katiehockman opened this issue Feb 14, 2018 · 1 comment
Labels
duplicate An issue closed because it is equivalent to another issue Example Page Related to a page containing an example implementation of a pattern Feedback Issue raised by or for collecting input from people outside APG task force

Comments

@katiehockman
Copy link

"A parent menuitem has aria-expanded set to false when its child menu is not visible and set to true when the child menu is visible."
https://www.w3.org/TR/wai-aria-practices/#menu

This would mean that the element with role="menuitem" toggles aria-expanded depending on whether or not the child submenu is open. However, according to ARIA 1.1, aria-expanded is not supported for role="menuitem".

There either needs to be a change to the ARIA 1.1 spec to include aria-expanded as a supported state, or a change to the authoring practices guide (and the associated example that follows this practice).

@mcking65
Copy link
Contributor

mcking65 commented Feb 15, 2018

the menuitem role supports aria-expanded in ARIA 1.2 with ARIA commit 5bc57d4
and this change is visible in the editor's draft of 1.2.
It is also supported in the current version of the HTML validator.

We previously had notes about validation errors as documented in issue #447, but we have since removed them.

@mcking65 mcking65 added duplicate An issue closed because it is equivalent to another issue Example Page Related to a page containing an example implementation of a pattern Feedback Issue raised by or for collecting input from people outside APG task force labels Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue closed because it is equivalent to another issue Example Page Related to a page containing an example implementation of a pattern Feedback Issue raised by or for collecting input from people outside APG task force
Projects
None yet
Development

No branches or pull requests

2 participants