The check passes when the summary attribute provides a concise overview of the table structure and explains how to read it.
HTML
<table summary="Rows list employees. Column headers are Department and Start date. Find a name in the first column, then read across to see that employee’s department and start date.">
<tr>
<th scope="col">Employee</th>
<th scope="col">Department</th>
<th scope="col">Start date</th>
</tr>
<tr>
<th scope="row">Alex Kim</th>
<td>Finance</td>
<td>2023-04-10</td>
</tr>
</table>
This check fails when the summary is present but it does not provide structural context or guidance on how to read the table.
HTML
<table summary="table">
<tr>
<th scope="col">Employee</th>
<th scope="col">Department</th>
<th scope="col">Start date</th>
</tr>
<tr>
<th scope="row">Alex Kim</th>
<td>Finance</td>
<td>2023-04-10</td>
</tr>
</table>This section provides information on how to review and fix the issue.
If a table contains a summary, ensure that it briefly explains the table structure and how to read it. The summary must explain what the rows and columns represent and how users can find related values.
This section contains useful resources for this subject.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.