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

menuitem(-radio/-checkbox) allowed in menubar? #2140

Closed
JAWS-test opened this issue Mar 7, 2024 · 0 comments · Fixed by #2171
Closed

menuitem(-radio/-checkbox) allowed in menubar? #2140

JAWS-test opened this issue Mar 7, 2024 · 0 comments · Fixed by #2171
Assignees
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified good first issue
Milestone

Comments

@JAWS-test
Copy link
Contributor

JAWS-test commented Mar 7, 2024

Describe your concern

Is a menuitem, menuitemcheckbox or menuitemradio allowed in menubar?

To make matters worse, seemingly redundant and contradictory information is given on parent and ancestor elements, which appear in separate and distant paragraphs ("In order to identify that they are related widgets, authors MUST ensure that menu items are accessibility descendants of an element with role menu or menubar."). Unless there is a difference between parent and ancestor elements, the second paragraph should be deleted. If there is a difference between parent and ancestor elements (e.g. menubar must not contain a menuitemradio, but only a menu, which can be located in a menubar), then the two paragraphs should follow each other directly.

Link to the version of the specification or documentation you were looking at at.

Link to documentation:
https://w3c.github.io/aria/#menuitem
https://w3c.github.io/aria/#menuitemradio
https://w3c.github.io/aria/#menuitemcheckbox

Does the issue exists in the editors draft (the editors draft is the most recent draft of the specification)?
Yes

@jnurthen jnurthen added this to the 2024 milestone Mar 7, 2024
@pkra pkra added the clarification clarifying or correcting language that is either confusing, misleading or under-specified label May 16, 2024
pkra pushed a commit that referenced this issue May 16, 2024
Closes #2140

Explicitly notes in second paragraph description for each of `menuitem`, `menuitemcheckbox` and `menuitemradio` that they are allowed in `menubar` as well as `menu`. Makes consistent with _Characteristics_ table for all 5 as well as final paragraph of description of first 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification clarifying or correcting language that is either confusing, misleading or under-specified good first issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants