Clarify Accessibility Parent-Child Relationships for menu, group, and menuitem - #2483
Clarify Accessibility Parent-Child Relationships for menu, group, and menuitem#2483giacomo-petri wants to merge 22 commits into
Conversation
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: Peter Krautzberger <p.krautzberger@gmail.com>
Co-authored-by: Peter Krautzberger <p.krautzberger@gmail.com>
fix typo
|
@np-at to review as well! |
|
actually, taking myself off as a reviewer since we have so many others. |
|
@pkra, I just realized the same issue affects tree/group/treeitem structures. Should we include this change in this PR or create a separate one? |
|
@giacomo-petri sounds good. Hopefully it's simpler since #2094 prevents group as child of tree. |
Co-authored-by: Peter Krautzberger <p.krautzberger@gmail.com>
|
I've made some adjustments to address the concerns that were raised. This needs another round of review. |
updated to the new version to avoid conflicts
solve conflict
|
🚀 Deployed on https://deploy-preview-2483--wai-aria.netlify.app |
Further changes made, another round of review is required.
|
The ARIA Working Group just discussed The full IRC log of that discussion<Zakim> agendum 6 -- [Clarify Accessibility Parent-Child Relationships for menu, group, and menuitem](https://github.com//pull/2483) -- taken up [from jamesn]<front-endian-jane> This PR had people added last week, they made comments, giacomo made updates and he removed the Agenda label, so no need to discuss <jamesn> Agenda? <front-endian-jane> zakim, next item |
🚀 Netlify Preview:
🔄 this PR updates the following sspecs:
Closes #2438
The current specifications for menu and menubar contradict those for menuitem, menuitemcheckbox, and menuitemradio.
Specifically, the following structure is allowed under the menu role but not when considering the menuitem role:
This PR clarifies that this structure is indeed allowed.
Additionally, it explicitly clarifies in a note that the following example, where a group contains a button and an input as accessibility children, is not permitted. This prevents ambiguity by making it clear that having at least one menuitem as an accessibility child of the group does not justify including other unrelated elements, which was not clearly stated.
This update refines the specifications for menu, menubar, menuitem, menuitemcheckbox, and menuitemradio roles consistently.
Test, Documentation and Implementation tracking
Once this PR has been reviewed and has consensus from the working group, tests should be written and issues should be opened on browsers. Add N/A and check when not applicable.
Preview | Diff