User Impact: Minor
Disabilities Affected:
WCAG Version:
2
WCAG Levels:
WCAG Guidelines:
Solution Techniques:
Automated Test Accuracy:
High
Check1st Severity:
2
DRRSAG Designations:
Use the caption element as a table heading and the summary attribute to describe the table’s organization or to explain how to use the table.
If both, the summary attribute and caption element are present for the data table, then check that the summary text does not duplicate the caption text.
The caption for a table is a table identifier that acts like a title or heading for the table. The summary attribute provides a brief overview or explanation of the table.
Therefore they cannot contain the same text.
<table summary="Intersections are listed in row 1.
Find the intersection closest to your starting point
or destination, then read down that column to find
out what time the bus leaves that intersection.
Service begins at 4:00 AM and ends at midnight.">
<caption>Route 7 Downtown (Weekdays)</caption>
…
</table>