question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an implicit role of "row" to the tr element

See original GitHub issue

According 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:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SiTaggartcommented, Feb 1, 2017

Well, just generally, as a team 👏

0reactions
marcysuttoncommented, Feb 1, 2017

That one was all @dylanb! I will go ahead and close this issue. Thanks for contributing!

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found