This section provides a pass and fail example of the issue.
A compliant table uses the <caption> element to provide a brief, descriptive title for the data.
HTML
<table>
<caption>Monthly Revenue 2023</caption>
<tr>
<th>Month</th>
<th>Revenue</th>
</tr>
</table>Why this is correct: The caption clearly identifies the specific data contained within the table.
A table fails this check if the caption is too vague to be useful.
HTML
<table>
<caption>Table 1</caption>
<tr>
<th>Month</th>
<th>Revenue</th>
</tr>
</table>Issue: The caption "Table 1" does not describe what the table is about.
This section provides information on how to review and fix the issue.
Identify each table on the page and assess its caption. You can use the Acquia Web Governance Browser Extension to identify the table element on the page or in the HTML source code. Ask the following:
If a table caption is non-descriptive:
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.