HTML <table> elements should not be used for layout purposes as it can confuse screen readers. It is recommended to use CSS instead.
This rule raises an issue on every <table>
element containing a role
attribute set to "presentation"
or "none"
, which is how W3C recommends marks layout tables.
Noncompliant code example
<table role="presentation"><!-- Noncompliant -->
<!-- ... -->
</table>