Why this wireframe works | Mobile card table
Compare on desktop, read one by one on mobile
Rows side by side compare well on desktop, but on mobile the columns become too narrow to read. The same HTML is shown as a table on desktop and as cards on mobile.
Each item still makes sense on mobile
Reshaping into cards with only the values leaves readers unsure what each one means. Each item carries a label matching its column header, so the meaning holds inside the card.
The card heading says which entry it is
If a card opens with an address, readers cannot tell which store it belongs to. The row header (the store name) becomes the card heading, with a rule beneath to separate it.
Desktop and mobile never drift apart
A separate mobile HTML gets forgotten when one side is updated. One table switches its presentation only, so the content is maintained in one place.
Check the row and column headers with a screen reader
Whether the table’s semantic structure survives when CSS changes how it is displayed for cards depends on the environment. After building it, check with a screen reader that each cell’s value is read with its column and row headers. If you add role attributes, check the announcement again.
Common mistakes | Mobile card table
Separate HTML for mobile
Two tables, one for desktop and one for mobile, must both be edited on every update and soon disagree. Switch the presentation of one table.
Values with no labels
“10:00–20:00” alone does not say whether it is opening hours or phone hours. Label each item.
Cards that stop reading as a table
Changing the display can stop some screen readers reading it as a table. Test with one and add role attributes to restore the table semantics if needed.
Card boundaries hard to see
Too little space or no rule between cards leaves it unclear where one entry ends. Give cards a border and space between them.
FAQ | Mobile card table
When should I scroll sideways and when use cards?
If the point is comparing rows side by side, fixing the first column and scrolling sideways suits better. For lists usually read one entry at a time, cards read more easily.
Where should the label text live?
In this wireframe each cell carries the same words as its column header in a data attribute, shown only on mobile. Text shown through pseudo-elements is handled differently by different screen readers, so the column headers stay in the table itself.
How many columns before switching to cards?
Rather than the column count, judge by whether a cell wraps onto several lines on mobile. A column of long content such as addresses or descriptions is worth cards even with few columns.































