Tables used for layout purposes shouldn't include data elements:
<caption> element or
How this Lighthouse audit fails #
Lighthouse flags layout
<table> elements that use
The Lighthouse Accessibility score is a weighted average of all the accessibility audits. See the Lighthouse accessibility scoring post for more information.
How to make presentational tables accessible #
It's simple to pass the Lighthouse audit: remove data elements (
<caption> elements or the
summary attribute) from layout tables.
If using a table just for visual layout, and not for tabular data, the better fix is to remove the table all together, and use cascading style sheets (CSS) to control layout instead.
- Source code for Presentational
<table>elements do not avoid using
<caption>, or the
- Layout tables must not use data table elements (Deque University)