Tables have different content in the summary attribute and <caption>

The summary attribute should describe the table structure, while `<caption>` should have the onscreen title. Accurate table mark-up helps users of screen readers.

Indicators

Impact

(How ScanGov measures tasklist priorities.)

About

The summary attribute should describe the table structure, while <caption> should have the onscreen title. Accurate table mark-up helps users of screen readers.

Why it's important

Helps screen readers announce structured content (tables, lists) in a logical order that users can understand.

User stories

As a screen reader user, I want tables and lists to be properly structured so that I can understand the relationships between items.

Error

(ScanGov messaging when a site fails a standard)

Failed: Tables have different content in the summary attribute and <caption>

Guidance

Get ScanGov