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

Axe-core may be too permissive about where/when to use the group role #4272

Open
WilcoFiers opened this issue Dec 12, 2023 · 0 comments
Open

Comments

@WilcoFiers
Copy link
Contributor

WilcoFiers commented Dec 12, 2023

The ARIA 1.3 editors draft has created some clarity on what is and isn't allowed to be done with groups. My new understanding of it is that you can put nest groups directly into some, but not all list-like roles. And depending on the list-type thing you might be able to nest groups.

So this stuff is valid:

tree > treeitem > group > treeitem
menu > group > group > menuitem
listbox > group > option
listbox > group > group > option

But none of the following are:

list > group > listitem
list > listitem > group > listitem
tree > group > group > treeitem
tablist > group > tab

This reverts a change we made in #2897. We made that change because APG had examples that put the group inside treeitem, but that seems to have been incorrect. I've opened up an issue with APG (w3c/aria-practices#2887). We should probably wait to see what comes out of that, and quite possibly not fix this until the W3C site has been updated.

Before we pull anything we also should test whether there are support problems with it.

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

1 participant