Use when
- Records share comparable attributes that users need to scan in aligned columns.
- Users need to reconcile, audit, triage, sort, filter, or compare records.
- Column headers and row identity can remain stable across responsive layouts.
Present records in a semantic table with a caption, clear column and optional row headers, aligned values, declared sort and filter state, responsive header preservation, and a boundary between read-only comparison, row actions, and richer data-grid tasks.
Users need to compare records across shared attributes, but tables often lose meaning through missing captions, unlabeled headers, broken responsive layouts, mixed controls, or spreadsheet-like interactions without data-grid behavior.
The items share a stable set of attributes such as name, status, owner, due date, amount, count, or last updated time.
Present records in a semantic table with a caption, clear column and optional row headers, aligned values, declared sort and filter state, responsive header preservation, and a boundary between read-only comparison, row actions, and richer data-grid tasks.
Default table state with caption, visible headers, row values, and result count or context.
Screen reader users hear a list of disconnected text because visual rows are not exposed as a table.
Use native table semantics for tabular data rather than div-only rows.
Sort by Amount, filter to pending rows, select a row, move pages, inspect row actions, switch responsive labels, and compare div-table, headerless-mobile, wrong-row-action, sort-mismatch, data-grid-misuse, and cramped-column failures.
Default table state with caption, visible headers, row values, and result count or context.
Tab reaches interactive controls before, inside, and after the table in a predictable order.
Using table markup to create page columns or layout spacing.
W3C Web Accessibility Initiative - checked
WAI table guidance supports semantic headers, data cells, captions, scope, and complex header associations.
Mozilla Developer Network - checked
MDN table documentation supports table structure, captions, sectioning, header scope, and accessibility considerations.
U.S. Web Design System - checked
USWDS table guidance supports responsive, stacked, sortable, and stateful table behavior.
Carbon Design System - checked
Carbon data table guidance supports sorting, toolbar separation, row selection, expansion, and pagination placement.
Maersk Design System - checked
Maersk table guidance supports clickable column headers, sort modes, and relationships between table sorting, searching, and filtering.
Last verified: