Skip to content

Group as allowed acc child of role menu if acc child of menuitem #2438

Open
@giacomo-petri

Description

@giacomo-petri

Describe your concern

<div role="menu">
	<div role="group">
		<span role="menuitem">Item 1</span>
		<div role="group">
			<span role="menuitem">Item 2</span>
			<span role="menuitem">Item 3</span>
		</div>
	</div>
</div>

Per ARIA specs, the role="menu" accepts group as acc child only if one of the following is true:

but it's unclear whether a group containing another group (group > (or with generic intervening) group) is acceptable. As written, it appears to be allowed as long as the parent group has at least one accessible child menuitem, but I'm not sure if that was the intended meaning.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions