Is this really a WCAG defect: All <th> elements and elements with role=columnheader/rowheader must have data cells they describe
See original GitHub issueCould you please clarify how the table used in the example on this page: https://dequeuniversity.com/rules/axe/3.0/th-has-data-cells is in violation of WCAG? The table is constructed properly - every <th>
has a column of corresponding <td>
s. How does having empty data cells in the last column make this table a failure of WCAG? And, at a Serious level as my testing indicates that the table is accessibility supported across many platforms. There are certainly many legitimate use cases for having a table that has a column of empty data cells.
Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
All <th> elements and elements with role="columnheader" or ...
All <th> elements and elements with role="columnheader" or role="rowheader" must have data cells they describe. Rule ID: th-has-data-cells.
Read more >Table header cell has assigned cells[proposed] | ACT Rule | WAI
This rule checks that each table header has assigned cells in a table element. Applicability. This rule applies to any HTML element with...
Read more >th-has-data-cells - Accessibility Insights
When people with good vision see a table with a row or column header that has no associated data cells, they can tell...
Read more >Create and verify PDF accessibility, Acrobat Pro
It prompts to address accessibility issues, such as a missing document description or title. It looks for common elements that need further ...
Read more >Baseline Tests for Software & Web Accessibility
Testing of applications that do not contain Flash or Java components can be ... All baseline tests must be included (including an agency...
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
Hey Melanie. Thanks for the report. I think you are entirely correct. I would suggest that we make the following changes:
What do you think?
Tested, working as expected. Tested Environment: Attest - 2.5.1.19317v Axe - 3.8.1.19317v Axe-coconut - 3.8.1.19604v Chrome - 75v Firefox - 68v OS - Windows 10 64 bit.