RuleSets of AccessMonitor - the validator of web accessibility practices
The “Inappropriate Table Caption Check” evaluates whether there is any <table>
element that includes a <caption>
but lacks proper header markups such as <th>
elements or associated header attributes like scope
, headers
, or aria-labelledby
.
I found 1 table without headers but that uses the <caption>
element.
<caption>
sets the expectation of meaningful structure, which is then not fulfilled.To address <table>
elements that include a <caption>
but lack headers:
<table>
element.<th>
elements) in the appropriate row(s) and / or column(s).