Data or header cells must not be used to give caption to a data table.
What is the problem?
The "table-fake-caption" rule ensures that tables use the correct HTML element, <caption>, to indicate a caption. Some websites may use table cells with large colspan attributes to visually mimic a caption.
Impacted Groups
Why is this important?
Screen readers rely on the <caption> element to identify the table's overall topic. Using table cells to simulate a caption can confuse screen readers, making it difficult for users to understand the table's purpose and the relationship between the table's data.
How to solve this issue
To fix this issue, use the <caption> element to provide a concise and descriptive caption for the table. This will ensure that screen readers can accurately convey the table's purpose to users.
Rule Information
Rule ID
table-fake-caption
Severity
Manual Review Required
Rule Group
Experimental Rules
Guidelines
- WCAG 2.1 Experimental
- WCAG 2.0 Experimental
- Section 508
- EN 301 549
Customise Guidance
You can customise each accessibility rule in SiteAlly with your own guidance, instructions and even links to your own organisation specific documentation.
Enable your website editors to resolve issues quickly with SiteAlly.
Ready to make your website accessible?
SiteAlly provides automated accessibility monitoring, detailed reports, and step-by-step guidance to help you achieve and maintain compliance.