Reading a wide table without losing the page
At the right edge of a wide table, a reader needs more than access to its final column. They still need to identify the row, return to the controls and continue reading the page. Treat those as separate tasks when reviewing the narrow layout.
Give the reader a specific comparison
Use a question with a verifiable answer. For the fictional records below, the task is to find the note for R02 and then continue to the link after the table. A reviewer can record whether the note was reached, whether the reference remained visible and whether keyboard focus left the region predictably.
The two fictional rows describe a Sample board and a Card holder. They have eight columns: Reference, Item, Status, Owner, Next action, Due label, Count and Notes. The last note for R02 is “Use the large type.” These are educational labels, not customer information or a description of a live product.
Keep the same values in both layouts. Otherwise, a shorter note or fewer columns can make a layout appear easier without demonstrating that its overflow behaviour improved. Retain an unchanged reference case while investigating the difference.
Change the scroll boundary, not the records
A local HTML experiment used the same semantic table in two separate pages. Both included column headers, row headers, a caption and a focusable named region. The table had a minimum width of 960 pixels. The page's main content had 20 pixels of horizontal padding on each side.
Case A placed horizontal overflow inside the region. Case B left the region's overflow visible. Other table data and structural markup were the same. This small CSS difference isolated where the horizontal movement occurred:
/* Case A */
.table-scroll {
max-width: 100%;
overflow-x: auto;
}
/* Case B, intentionally uncontained */
.table-scroll {
max-width: 100%;
overflow: visible;
}
The comparison did not hide the document's horizontal overflow or remove the last columns. Either action could conceal a problem while preventing the original task. The aim was to reach the same note through two visibly different scroll boundaries.
AI assistance was used to prepare the fixture, gather the observations and draft this explanation. The browser observations were collected in one desktop in-app browser environment on November 5, 2026, using 390-by-844 and 1440-by-900 viewport overrides. No physical phone, touch gesture, screen reader or additional browser engine was tested.
What moved in the browser
Read the document width, the region width and their horizontal positions separately. A table can be wider than its container without making the entire document wider.
| Observation | Case A: contained | Case B: uncontained |
|---|---|---|
| Document width at a 390-pixel viewport | 390 pixels | 980 pixels |
| Region's visible content width | 350 pixels | 350 pixels |
| Table content width in that region | 960 pixels | 960 pixels |
| Tab from the preceding link | Focus reached the table region | Focus reached the table region |
| Horizontal keys, later recorded position | Region reached 610 pixels; page stayed at zero | Page reached 320 pixels; region stayed at zero |
| Tab from Case A at its right edge | Focus reached the following link | This closing step was not recorded for Case B |
In Case A, the final Notes header and both notes became visible while the surrounding page remained in place. Case B moved the page horizontally, including the text and controls outside the table. The result identifies a usability difference in these fixtures; it does not establish that an unrelated site's table behaves the same way.
The position readings changed while keyboard scrolling settled. For example, an early Case A read following eight right-arrow actions reported 284 pixels, with later reads reporting different positions. A further sequence eventually reached the available right edge of 610 pixels. There was no measured timing interval, fixed distance-per-key claim or speed comparison. Record the eventual destination as well as the immediate state.
At 1440 pixels, Case A's region was 1060 pixels wide and had no horizontal overflow. Its document width was 1440 pixels. The 960-pixel minimum was not a fixed width: the table could expand within the wider content area.
Keep the meaning of a row available
Containing the scroll did not solve every reading problem. At Case A's right edge, the Reference column was outside the visible region. The Notes values were readable, but the reader had to remember which row was R02. The screenshot and the structural inspection answer different questions.
W3C's two-header tutorial describes using header cells and scope values to associate simple row and column headers with their data cells. It also describes a caption for identifying the table. The fixture used those structures, and the browser snapshot exposed eight column headers and two row headers. No observation of a screen reader announcing those relationships was made.
Possible visual treatments include keeping a reference column visible, showing the row's identity beside a detail view, or reducing the comparison to the columns needed for the task. Each is a design proposal requiring its own review. A sticky reference column can occupy a large part of a narrow screen when labels are long. Do not assume that adding it is an automatic improvement.
For a related visual component, Accessibility of canvas and WebGL content examines the information and controls that must remain available around the rendered surface. Here, the comparable question is whether a note still has an understandable row context.
Test entry and exit independently
Case A's region used a zero tabindex, a region role, an accessible name and a description of the keyboard route. MDN's overflow guidance recommends a focusable container with suitable context where keyboard access to scrolling content is needed. Its tabindex reference explains the sequential navigation meaning of zero.
The local route began at the link before the table. Tab reached the region; horizontal keys moved within it; Tab then reached the following link. Shift+Tab returned to the region in a separately recorded reverse step. The visible outline identified the region receiving keyboard input.
These observations do not prove that every table needs an additional focus stop. Browser behaviour and the component's controls matter. Review the actual route with its links, sorting buttons and other interactive content. Do not put every ordinary data cell in the Tab sequence merely to make the table appear keyboard-accessible.
A navigation menu's keyboard handoff uses a different component to show the same evidence habit: record where focus enters and where it goes next, rather than treating one successful interaction as the whole review.
Do not turn a scrollbar into a conformance verdict
W3C's Reflow explanation permits exceptions for content that needs a two-dimensional layout, including appropriate data tables. The exception does not automatically extend to surrounding headings, prose or controls. Its guidance also discusses circumstances where page-level scrolling can satisfy the criterion while containing that scrolling would still offer a better experience.
Consequently, Case B's document width alone is not a complete failure determination. Nor does Case A's 390-pixel width establish a pass. The comparison informs a design decision; the applicable criterion, content and evaluation conditions still need review.
Write a result another reviewer can reproduce
Keep the viewport, fictional row reference, exact keys and separate page/region measurements in the record. Include which columns are visible at the end. “R02's note appeared, but its reference was off-screen” is more useful than “table works on mobile.”
Keep separate screenshots of the left and right edges. A single image of the last column cannot show that the reference was available at the beginning or that the table offered a visible route back.
Use the same record after a change. If a proposed treatment keeps the reference visible, repeat the route and inspect whether the note now fits, whether headers remain understandable and whether the following link can still be reached. Record new limitations alongside improvements.
Do not extend this fixture's nowrap styling to arbitrary long content without review. A long sentence needs a different wrapping decision from a short identifier. Test realistic maximum lengths with safe illustrative data, including a long label and an empty value. Those additional cases were not part of the two-row experiment above.
Before publishing a table change, add the relevant checks to the static-site launch checklist and preserve the earlier version for comparison. The evidence should name what was tested, what improved and which environments remain untested.
Keep this
- Start with a row-and-column task whose answer can be checked.
- Measure page overflow separately from the table region's overflow.
- Reach the last column, then check whether its row can still be identified.
- Record keyboard entry, movement, exit and reverse traversal separately.
- Keep viewport observations, semantic inspection and accessibility conformance as distinct conclusions.
Questions and answers
Does this 390-pixel test prove Reflow compliance?
No. WCAG's Reflow criterion includes a 320-CSS-pixel width condition and specific exceptions. This experiment compares two local layouts at 390 pixels; it is not a full criterion evaluation or accessibility certification.
Does a horizontal scrollbar automatically fail Reflow?
No. W3C describes exceptions for content requiring two-dimensional layout and distinguishes that content from its surrounding controls and prose. Evaluate the actual content and applicable conditions rather than issuing a verdict from a scrollbar alone.
Should the first column always be sticky?
It depends on the reading task and the space available. The local test showed row references leaving the visible area; it did not test a sticky-column implementation. Review an actual proposed treatment with the longest labels before adopting it.
Sources
- Understanding Reflow (W3C WCAG 2.2) w3.org
- Tables with Two Headers (W3C WAI) w3.org
- CSS overflow (MDN) developer.mozilla.org
- HTML tabindex (MDN) developer.mozilla.org