Summary should not duplicate caption

Compliance Data & User Impact

User Impact: Minor

40% Complete

Disabilities Affected:

  • blindness
  • deafblindness

WCAG Version:
2

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:
High

uTester Severity:
2

DRRSAG Designations:

  • description

How to Fix the Problem

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.

The Algorithm, in Simple Terms

If both a summary attribute and a caption element are present for the data table, check that the summary text does not duplicate the caption text.

Why Is it Important?

The caption for a table is a table identifier and 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.

Code Example

<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>

Address: 401 9th St NW, 6th Floor
Washington, DC 20004
Phone number: (888) 995-WCAG
International number: 1(888) 995-9224
Email: accessibility@user1st.com