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

Do not use rowgroup role for table body #3232

Open
knowler opened this issue Feb 7, 2025 · 0 comments
Open

Do not use rowgroup role for table body #3232

knowler opened this issue Feb 7, 2025 · 0 comments

Comments

@knowler
Copy link

knowler commented Feb 7, 2025

While the tbody HTML element is supposed to map to the rowgroup ARIA role, no browser implements this and this seems warranted because neither NVDA or JAWS can navigate by cell when a table’s body has a rowgroup role on it. Currently, the Table pattern uses role=rowgroup for the table body. I think for now it should not and perhaps a note should be added. Whether we like it or not, developers do thoughtlessly copy these patterns without testing.

Cross-reference: w3c/html-aam#474

The ARIA spec for rowgroup also calls out a spec issue related to this:

NOTE
This role does not differentiate between types of row groups (e.g., thead vs. tbody), but an issue has been raised for WAI-ARIA 2.0.

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