Complex products · Step 3 · 11 min read
Anatomy of a data table
In work software the table is often the whole screen. What a data table is for, when a list does the job better, the seven parts every table has, why the first column decides whether people can use it, and how to build it so a screen reader can read it too.
A Gale planner starts the day on a table, and most days she ends it there too. Cabo Alto Energia has about 9,000 open work orders at any time. Nobody reads 9,000 of anything. People look for the few that need them today, compare them, and act on them. A data table is the tool for that job, and in complex products it is often the whole screen. If the table is wrong, the product is wrong, however good the forms behind it are.
What you'll be able to do after reading:
- Say what people do with a data table, in four tasks
- Choose between a table and a list for a given task
- Name the seven parts of a data table and what each one is for
- Pick a good identifier column
- Mark up a table so assistive technology can read it
1. What a data table is for
A data table shows many items of the same kind, one per row, with the same facts about each in columns. Where a row and a column meet is a cell. In Gale's table of open work orders, each row is one work order (the object you met in Objects before screens), and the columns are its turbine, task, state, priority, planned start and so on.
People don't read a table from top to bottom. NN/g lists four things they do with one (Laubheimer, Data Tables: Four Major User Tasks, NN/g, 2022):
- "Find record(s) that fit specific criteria" (a record is one row's item: here, one work order)
- "Compare data"
- "View, edit or add a single row's data"
- "Take action(s) on records"
Keep those four in mind for the whole step. Each of the next lessons is about one of them: columns and formats help people compare, Sort, filter and search helps them find, and Selection and bulk actions helps them act.
2. Table or list
- Yaw motor fault
CA-21-T05 · 09:15 · In progress - Gearbox oil change
CA-07-T14 · 08:00 · Scheduled - Blade inspection
CA-07-T03 · 07:30 · On hold: weather
| Work order | Task | Priority | Planned start |
|---|---|---|---|
| WO-2026-018734 | Gearbox oil change | High | 3 Dec 2026, 08:00 |
| WO-2026-018702 | Blade inspection | Medium | 2 Dec 2026, 07:30 |
| WO-2026-018655 | Generator bearing swap | High | Not set |
| WO-2026-018611 | Annual service | Low | 9 Dec 2026, 08:00 |
| WO-2026-018590 | Yaw motor fault | High | 1 Dec 2026, 09:15 |
Not every set of items wants a table. Ask what the person does with the items.
- A list fits when people deal with items one at a time: read the first, act, move to the next. A Gale technician's jobs for today are a list. He doesn't compare the priority of his three jobs side by side; he does the first one, then the second.
- A table fits when people compare values across items: which work orders are high priority, which have no date, which are waiting for parts. The planner's work is reading down a column, and only a table has columns.
The amount of data doesn't decide it. Fifty items can be a list; five can be a table. If you can't say what the person compares, you probably need a list. You'll meet the same choice again on the phone in Tables on a phone, where the answer is often "a list made from the table".
3. The seven parts
Open work orders 9,012 work orders
| Work order | Turbine | Task | State | Priority | Planned start ▲ | Hours | Actions | |
|---|---|---|---|---|---|---|---|---|
| WO-2026-018734 | CA-07-T14 | Gearbox oil change | Scheduled | High | 3 Dec 2026, 08:00 | 6.0 | 3 of 3 reserved | |
| WO-2026-018702 | CA-07-T03 | Blade inspection | On hold: weather | Medium | 2 Dec 2026, 07:30 | 4.5 | None needed | |
| WO-2026-018655 | CA-12-T22 | Generator bearing swap | On hold: parts | High | Not set | 12.0 | 1 of 4 reserved | |
| WO-2026-018611 | CA-12-T08 | Annual service | Planned | Low | 9 Dec 2026, 08:00 | 16.0 | 9 of 9 reserved | |
| WO-2026-018590 | CA-21-T05 | Yaw motor fault | In progress | High | 1 Dec 2026, 09:15 | 3.0 | 2 of 2 reserved |
1–25 of 9,012 · 25 per page
- Title and count. What this set is, and how big it is.
- Search and filters. Ways to narrow 9,012 rows to the few you need.
- View and table settings. The saved view in use, which columns show, and export.
- Header row. One name per column. It stays on screen when you scroll down, and a click on it sorts.
- Identifier column. The first column says which row this is, in words people use. It opens the work order.
- Row actions. What you can do to this one row, without opening it.
- Footer. Where you are in the set, and how to move through it.
Most data tables in work software have the same parts, in the same order. Carbon, IBM's design system, names almost the same list: a title and description, a toolbar "including search and table settings", column headers "with the optional sorting behavior", table rows, and a pagination bar that "lets a user navigate data as pages" (Carbon, Data table usage).
| # | Part | What it answers |
|---|---|---|
| 1 | Title and count | What is this set, and how big is it? |
| 2 | Search and filters | How do I get to the few rows I need? |
| 3 | View and table settings | Which saved view am I in, which columns show, can I export? |
| 4 | Header row | What is in each column? How is it sorted? |
| 5 | Identifier column | Which row is this? |
| 6 | Row actions | What can I do to this one row? |
| 7 | Footer | Where am I in the set, and how do I move? |
A toolbar is the strip of controls above the table that act on the whole table, not on one row. A view is a saved combination of filters, sorting and columns with a name, such as "Planner default"; you'll build them in Sort, filter and search.
Two parts are often missing. The count in the title: without it, people can't tell if a filter worked or if the table is still loading. And the footer, which says "1–25 of 9,012". Pagination means splitting the rows into pages; some tables load more rows as you scroll instead. Either way, people need to know there is more below.
4. The first column says which row it is
NN/g's advice is direct: the "first column should be a human-readable record identifier" (NN/g, 2022). An identifier is the value that tells one row apart from all the others. "Human-readable" means people can read it and say it out loud: a name, or a code they use every day.
In Gale, that is the work order number, WO-2026-018734. Planners say it on the phone, and technicians write it on paper when the tablet dies. It is unique, it is short, and it is what people search for. The database's internal key (something like a3f9c2e1) is unique too, but nobody can say it, so it never goes on screen.
Three rules for the identifier column:
- It comes first, so every row starts with its name and the eye can run down it.
- It opens the item. A click on the identifier opens the work order. It looks like a link because it is one.
- It stays visible when the table scrolls sideways (more on that in Tables on a phone).
Sometimes the best identifier is a pair. The turbine (CA-07-T14) is what a supervisor thinks in; the work order number is what the system uses. Gale keeps the work order first and the turbine second, next to it, because NN/g also says "related columns should be adjacent".
5. Header, density and stripes
The header row stays on screen. When people scroll down 25 rows, they forget which column is which. NN/g: "Freeze header rows and header columns (if the table is larger than the screen)" (NN/g, 2022). Developers call this a sticky header: it scrolls with the page until it reaches the top, then stays there.
Density is how much fits on the screen: row height, padding and type size together. Carbon offers row heights in five sizes, from 24 to 64 px, and says of the 40 px medium size: "Use as the default and most commonly used size" (Carbon). Planners who look at the table all day often ask for the compact size, so they see more rows without scrolling. Offer it as a choice, keep medium as the default, and never go so small that a row's click target gets hard to hit. Dense is not cluttered explains why more on screen can still be calm.
Zebra stripes (rows in alternating shades) help the eye stay on one row across a wide table. Carbon calls them a modifier "to make scanning horizontal information easier"; NN/g lists borders, zebra striping and highlighting the row under the pointer as things that "can all help". Use one of them, lightly. Stripes, borders and a strong hover together look busy.
6. Built so a screen reader can read it
A screen reader is software that reads the screen out loud (or on a braille display) for people who can't see it. It can only tell someone "Planned start, 3 Dec 2026" if the code says which header belongs to which cell.
- Use a real HTML
<table>, with header cells in<th>and data cells in<td>. The W3C: "Header cells must be marked up with<th>, and data cells with<td>to make tables accessible" (W3C WAI, Tables Tutorial). - Set
scope="col"on column headers andscope="row"on the identifier cells, so each row has a name too. Scope tells the browser which way a header applies. - Give the table a caption, its title in code. GOV.UK: "Use the
<caption>element to describe a table in the same way you would use a heading" (GOV.UK Design System, Table).
A table built from <div>s looks the same and says nothing. If people can move around the cells with the arrow keys and edit them in place, the table has become a grid, which has its own pattern: the W3C says the grid pattern "is particularly useful if the tabular information is editable or interactive" (WAI-ARIA APG, Grid). Most tables in work software are plain tables with links and buttons in them. Start there. Accessibility fundamentals covers the basics this builds on.
7. Common mistakes
- Building the table from the database: every field becomes a column, in the order they were created, with the internal key first.
- No count, so nobody knows how many rows match.
- An identifier nobody can say, or no identifier at all, so every row starts with a date.
- A table where a list would do, for people who handle items one by one.
- A header that scrolls away after the first screen.
- Stripes, borders, hover and coloured badges all at once.
- A table drawn with
<div>s, silent to a screen reader.
8. Vocabulary
| Term | Meaning |
|---|---|
| Data table | Many items of one kind, one per row, with the same facts about each in columns |
| Row / column / cell | One item / one fact about every item / where a row and a column meet |
| Record | The item a row stands for, such as one work order |
| Identifier | The value that tells one row apart from the others; best when people can read and say it |
| Toolbar | The strip of controls above a table that acts on the whole table |
| View | A saved, named combination of filters, sorting and columns |
| Pagination | Splitting the rows into pages, with a way to move between them |
| Sticky header | A header row that stays at the top of the screen while the rows scroll |
| Density | How much fits on screen: row height, padding and type size together |
| Zebra stripes | Rows in alternating shades, to help the eye follow one row |
| Screen reader | Software that reads the screen aloud or in braille |
| Caption / scope | The table's title in code / which way a header cell applies (column or row) |
| Grid | A table people move around with the arrow keys and edit in place; it has its own accessibility pattern |
9. Try it (no tools needed)
Pick a table you use at work, or the transactions table in your bank's website.
- On paper, draw seven boxes and label them with the seven parts from section 3. For each, write what your table has there, or "missing".
- Circle the first column. Can you say its value out loud to a colleague, and would they find the row with it? If not, write which column should come first.
- Write the four tasks from section 1 down the side of the page. Next to each, write one thing people do with this table that fits that task.
You did it well if every box has an answer (even "missing"), you can defend the first column in one sentence, and at least three of the four tasks have a real example. A task with no example is a hint: maybe that table should be a list.
Reflection questions: Which part was missing most often? If you could add only one, which would help people most?
10. If you already practise
- Write the four tasks into the brief for every table: which rows people look for, what they compare, what they open, what they act on. It stops the "show all the fields" table before it starts.
- Ask the developers which column is the database key and make sure it isn't the one on screen.
- Check your table with a screen reader once: move to a cell in the middle and listen. If you don't hear the column and the row names, the headers aren't wired.
- Compare your table with Carbon's anatomy. Every part you skip should be a decision, not an accident.
Checklist
Learn more
- NN/g, Page Laubheimer: Data Tables: Four Major User Tasks (2022)
- Carbon Design System: Data table usage, anatomy, sizes and zebra stripes
- W3C WAI: Tables Tutorial
- GOV.UK Design System: Table
- WAI-ARIA Authoring Practices: Grid pattern
Books, courses and videos to go deeper
- Designing InterfacesJenifer Tidwell, Charles Brewer and Aynne ValenciaBook · 3rd edition, O'Reilly, 2020 · the chapter on lists of things (Amazon)
- Show Me the NumbersStephen FewBook · 2nd edition, Analytics Press, 2012 · on designing tables to be read
Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Related
Objects before screens · Dense is not cluttered · Columns, alignment and number formats · Sort, filter and search · Accessibility fundamentals · Redesign a dense table