table-req-caption
If set, each table
must contain at least one caption
tag.
The following patterns are considered violations:
<table></table>
<table>
<span>Caption</span>
</table>
<table>
<td>
<caption>Hello</caption>
</td>
</table>
<table></table>
<caption>Hello</caption>
The following patterns are not considered violations:
<table>
<thead><thead>
<tbody></tbody>
<caption>Hello</caption>
</table>
<table>
<caption>Hello</caption>
<thead><thead>
<tbody></tbody>
</table>
<table>
<caption>Hello</caption>
</table>