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

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

Open
giacomo-petri opened this issue Feb 13, 2025 · 3 comments
Open
Assignees

Comments

@giacomo-petri
Copy link
Contributor

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.

@giacomo-petri
Copy link
Contributor Author

@giacomo-petri to test it and provide evidence

@aardrian
Copy link
Contributor

If you need testing on AT you don't have, hit me up.

@spectranaut
Copy link
Contributor

Discussed in today's ARIA meeting: https://www.w3.org/2025/02/20-aria-minutes#56b0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants