Ensure the <caption> Element Does Not Contain the Same Text as the Summary Attribute

Photo of Researcher
Yotam Flohr
Researcher
Blind Hearing
WCAG 2.1 Level A

Written and researched for humans by humans

Photo of Researcher
Yotam Flohr
Researcher
Photo of Expert
Ritvik Shrivastava
Expertly reviewed by
Comments: 0
Your entire domain
Get detailed instructions on how to resolve every accessibility issue on your website

Data table markup should never be confusing. The caption and summary table attributes should not be identical.

Why It Matters

Screen readers announce tables in a specific way. When marked up incorrectly, tables can create confusing screen reader outputs.

Fixing the Issue

Check that tables don’t have identical summary and caption text. 

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.