How to Get Data Table Design Right
Designing tables that let people scan, compare, sort and act on rows of data, such as orders, users or financial figures.
On this page
At a glance
- Headers th elements with scope identify row and column headers
- Sorting aria-sort indicates the current sort order
- Numbers right-align numeric columns for comparison
- Responsive tables may need horizontal scrolling or a different layout on small screens
Why it matters
Why it matters: Tables are central to business applications, and cramped, unsortable or inaccessible tables slow down the work they exist to support.
Best practice
- Align text left and numbers right
- Keep headers visible when scrolling long tables
- Offer sorting and filtering on key columns
- Allow bulk actions where users work on many rows
- Test with a screen reader
Common pitfalls
Watch out for:
- Tables used for page layout
- Truncating important values without a way to see them
- Too many columns on small screens
- Zebra striping so strong it distracts
When to call in a specialist
Bottom line Bring in help when designing dashboards or admin tools with complex data.
Where this comes from
- Nielsen Norman Group — Data tables: four major user tasks
- W3C Web Accessibility Initiative — Tables tutorial
The figures and practices above come from the sources listed.
Working on something like this?
We take on UI & UX Design work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.