Skip to content

[bc4a75] ARIA required owned elements - Passed Example 6 is not accurate and should fail #2247

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

Open
giacomo-petri opened this issue Jan 31, 2025 · 1 comment

Comments

@giacomo-petri
Copy link
Collaborator

In ARIA required owned elements, passed example 6:

<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>

should fail rather than pass.

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

Instead in this testcase, the group has another role group, which is not acceptable.

@giacomo-petri
Copy link
Collaborator Author

As mentioned today, this topic has been brought to the ARIA group. You can find the reference here: w3c/aria#2438

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

No branches or pull requests

1 participant