Marcus Andrey Study
Ler em português Library

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 tray holding a dense data table: a taller header slat at the back and nine rows in front, each carrying its cells in fixed columns, text that starts on one line, numbers that end on one line, a status dot. One row sits a little raised: the selected one. Pass the pointer over the table: the row under it lifts out, and the rows next to it lift a little less. That's this step: in a work tool the table is often the whole screen, and people spend the day finding, comparing and acting on one row among thousands. This step has five lessons: anatomy of a data table, columns, alignment and number formats, sort, filter and search, selection and bulk actions, and tables on a phone.Illustration: Marcus Andrey, drawn with Hairline (MIT, Lucas Marques).

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):

  1. "Find record(s) that fit specific criteria" (a record is one row's item: here, one work order)
  2. "Compare data"
  3. "View, edit or add a single row's data"
  4. "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

A list, in Gale Field: read one at a timeA technician's jobs for today. Each item is a sentence people read top to bottom, then tap.
  • 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
A table, in Gale Console: compare across rowsA planner's view of the same kind of work. The value is in reading down a column: which ones are high, which ones have no date.
Work orderTaskPriorityPlanned start
WO-2026-018734Gearbox oil changeHigh3 Dec 2026, 08:00
WO-2026-018702Blade inspectionMedium2 Dec 2026, 07:30
WO-2026-018655Generator bearing swapHighNot set
WO-2026-018611Annual serviceLow9 Dec 2026, 08:00
WO-2026-018590Yaw motor faultHigh1 Dec 2026, 09:15
The same work orders, shaped for two different jobs. Use a list when people deal with items one by one; use a table when they need to compare values across many items. Choose by the task, not by how much data there is.Gale, Cabo Alto Energia and every number in it are fictional. Diagram: Marcus Andrey, CC BY 4.0.

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

State: anySite: all
View: Planner default
Work orderTurbineTaskStatePriorityPlanned start ▲HoursActions
WO-2026-018734CA-07-T14Gearbox oil changeScheduledHigh3 Dec 2026, 08:006.03 of 3 reserved
WO-2026-018702CA-07-T03Blade inspectionOn hold: weatherMedium2 Dec 2026, 07:304.5None needed
WO-2026-018655CA-12-T22Generator bearing swapOn hold: partsHighNot set12.01 of 4 reserved
WO-2026-018611CA-12-T08Annual servicePlannedLow9 Dec 2026, 08:0016.09 of 9 reserved
WO-2026-018590CA-21-T05Yaw motor faultIn progressHigh1 Dec 2026, 09:153.02 of 2 reserved

1–25 of 9,012 · 25 per page

  1. Title and count. What this set is, and how big it is.
  2. Search and filters. Ways to narrow 9,012 rows to the few you need.
  3. View and table settings. The saved view in use, which columns show, and export.
  4. Header row. One name per column. It stays on screen when you scroll down, and a click on it sorts.
  5. Identifier column. The first column says which row this is, in words people use. It opens the work order.
  6. Row actions. What you can do to this one row, without opening it.
  7. Footer. Where you are in the set, and how to move through it.
The seven parts of a data table, on the first screen a Gale planner opens every morning. Start with the identifier (5): it is the part that tells people which row they are looking at, and the one most often missing from tables built straight from a database. On a phone, the table scrolls sideways inside its own frame; the page around it doesn't.Gale, Cabo Alto Energia and every number in it are fictional. Diagram: Marcus Andrey, CC BY 4.0.

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 and scope="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.

  1. 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".
  2. 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.
  3. 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

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Objects before screens · Dense is not cluttered · Columns, alignment and number formats · Sort, filter and search · Accessibility fundamentals · Redesign a dense table

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close