About This Accessibility Rule
Markup for data tables can be tedious and complex. Make sure the summary table’s properties and the caption don’t match. There are several capabilities in screen readers that help with table navigation, but for these features to function properly, the tables must be accurately marked up.
Tables are announced in a certain way by screen readers. The potential for unclear or erroneous screen reader output exists when tables are not properly marked up.
Screen reader users may become perplexed and struggle to understand the name and function of the table if the summary and caption text for the table are identical.
What this Accessibility Rule Checks
Verifies that the wording in data tables that have both a summary and a caption is not the same.
Learn more:
- → Deque University - How To Fix
- → WCAG 2.1 - Using caption elements to associate data table captions with data tables
- → WCAG 2.1 - Using id and headers attributes to associate data cells with header cells in data tables
- → WCAG 2.1 - Using table markup to present tabular information
- → WCAG 2.1 - Using the scope attribute to associate header cells and data cells in data tables
- → WCAG 2.1 - Using the summary attribute of the table element to give an overview of data tables
Detect accessibility issues automatically
Rocket Validator scans thousands of pages with Axe Core and the W3C Validator, finding accessibility issues across your entire site.