Layout Table Shouldn’t Use <caption>

Compliance Data & User Impact

User Impact: Major

60% Complete

Disabilities Affected:

  • blindness
  • deafblindness

WCAG Version:
2

WCAG Levels:

  • A

WCAG Guidelines:

Solution Techniques:

Automated Test Accuracy:
High

uTester Severity:
2

DRRSAG Designations:

  • general

How to Fix The Problem

Ensure that table elements only used to visually lay out elements within the content are not using a caption element.

The Algorithm, In Simple Terms

The engine scans the page for <table> elements with no thead or th elements that contain <caption> elements.

Why Is It Important?

In layout tables, the caption element does not provide any meaningful information to assistive technology users, and will only distract users navigating the content via a screen reader.

Code Example

<!-- Example of Proper Layout Table -->
<table>
    <tr>
        <td>Header</td>
    </tr>
    <tr>
        <td>Aside</td>
        <td>Main</td>
    </tr>
</table>

Additional Information

Relevant Technologies: HTML and XHTML data tables

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