Layout Table vs. Data Table

Tables were once commonly used for page layout, but modern accessibility standards discourage this practice. A layout table arranges visual content, while a data table organises actual data relationships between rows and columns.

For accessibility, it is essential to distinguish between the two. Data tables should use proper semantic markup, including <th> for headers and <td> for data cells, and may use scope or headers attributes to clarify associations. Layout tables, on the other hand, should not include header markup and should be used only when necessary for visual structure.

Assistive technologies rely on table semantics to communicate data relationships. Incorrectly marked tables can confuse by suggesting data where there is none.

Accessible outcome: Data tables are structured semantically with correct headers, while layout tables are avoided or simplified to maintain logical and accessible presentation.