TABLES &
DATASETS
Tables are for tabular data—financial reports, schedules, and analytics. They are powerful tools for density and comparison, but must be structured carefully to remain accessible.
The Golden Rule
Never use tables for layout. In the 1990s, this was common. Today, we use CSS Grid and Flexbox. Tables should only be used when data has a distinct two-dimensional relationship (Rows & Columns).
Table Header
Defines the label for a column or row. Must use scope to clarify direction.
Table Data
The actual data cell. Contains content, images, or links.
Accessibility Superpower
The scope attribute is magic. It tells a screen reader: "This header applies to all cells below it." Without it, navigating a complex table by voice is a nightmare.
Semantic Inspector
Hover over the table sections to inspect their semantic value.
Best for page layout, galleries, and flexible positioning.
Best for financial data, schedules, and comparison matrices.