Add an implicit role of "row" to the tr element
See original GitHub issueAccording to the ARIA in HTML spec, table rows come with an implicit role of “row”.
Currently aXe causes false negatives on rows within an ARIA grid, that uses HTML table semantics. You shouldn’t have to apply <tr role="row">
to a table row element.
Yes, I agree it’s strange that information is not supplied in the HTML 5 specification, so for good measure, I filed an issue on the ARIA in HTML spec too.
I’m going to assume the implicit role is correct, but if it turns out it’s a mistake in the ARIA in HTML spec then this issue can be closed.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
<tr>: The Table Row element - HTML - MDN Web Docs - Mozilla
The <tr> HTML element defines a row of cells in a table. The row's cells can then be established using a mix of...
Read more >ARIA in HTML - W3C
The third cell in each row defines the ARIA role values and aria-* attributes which authors MAY specify on the element.
Read more >The ARIA Role Conformance Matrices - WhatSock
Table is a section containing data arranged in rows and columns in the same manner as an HTML table element. The Table role...
Read more >Table Roles (Introduction to WAI-ARIA Part 3)
A row role denotes a row within a table. This directly corresponds with the <tr> (or table row) element. Elements with the row...
Read more >WAI-ARIA: role=presentation - DigitalA11Y
An element whose implicit native role semantics will not be mapped to ... elements (matching the grid role) require tr descendants (the row...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, just generally, as a team 👏
That one was all @dylanb! I will go ahead and close this issue. Thanks for contributing!