aria
aria copied to clipboard
menuitem(-radio/-checkbox) allowed in menubar?
Describe your concern
Is a menuitem, menuitemcheckbox or menuitemradio allowed in menubar?
- table "Characteristics" says yes
- text says no: "Authors MUST ensure elements with role menuitem are accessibility children of an element with role menu or an element with role group that is an accessibility child of an element with role menu."
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