CARVIEW |
This website uses cookies
By continuing to use our sites or services, regardless of your cookie preferences, you agree to our Terms of Use. Deque University uses first and third-party technologies to enable us and third parties to collect information about you and your interactions with our sites and services in accordance with our Legal Policy.
Translation Feedback
Please provide your feedback on the translation.
tables should not have the same summary and caption
Accessibility testing for dev teams - No experience required
Sign up for the axe newsletter
Stay up to date on axe features, updates, and events.
Compliance Data & Impact
User Impact
▼
Disabilities Affected
- Blind
Deafblind
Standard(s)
- Deque Best Practice
How to Fix the Problem
This Rule checks for tables that have identical summary and caption text. To
fix the problem, ensure that the content of the summary
attribute
and the <caption>
elements are not identical.
To ensure screen reader users can make sense of tabular data:
- Use the
<caption>
element for onscreen title. -
Use the
summary
attribute—only read by screen readers—to describe the table structure.
Why it Matters
Screen readers have a specific way of announcing tables. When tables are not properly marked up, this creates the opportunity for confusing or inaccurate screen reader output.
When tables have summary and caption text that is identical, screen reader users can be confused and find it difficult to know the name and purpose of the table.
Rule Description
Data table markup can be tedious and confusing. Make sure the caption and summary table attributes are not identical. Screen readers have some features to manage table navigation, but tables must be marked up accurately for these features to work correctly.
The Algorithm (in simple terms)
Checks that data tables that have both a summary and caption have the same text for each.
Resources
Other Resources
You may also want to check out these other resources.
- H39: Using caption elements to associate data table captions with data tables
- H43: Using id and headers attributes to associate data cells with header cells in data tables
- H51: Using table markup to present tabular information
- H63: Using the scope attribute to associate header cells and data cells in data tables
- H73: Using the summary attribute of the table element to give an overview of data tables
Refer to the complete list of axe 4.7 rules.
Was this information helpful?
Your response was as follows:
Date/Time feedback was submitted:
Customer Feeddback