WCAG Encyclopedia

1.4.10 · PerceivableLevel AA

Reflow

At 320 CSS pixels wide, content must not require scrolling in two directions. Same content, one column, no horizontal scrollbar.

Principle
Perceivable
Guideline
1.4
Level
AA
In WCAG since
2.1
Number
1.4.10

Broken, then fixed

The same interface twice: first with the mistake, then with the smallest change that fixes it.

Broken: Fixed-width columns make the page scroll sideways as well as down at 320px wide.

The grid keeps its three tracks at every width, so the reader has to scroll sideways to reach the third — while also scrolling down to read. Two directions at once.

Fixed: A track that can shrink replaced the fixed track width, so the columns reflow.

The same three tiles, stacked. Nothing is hidden and nothing is dropped — the layout simply stops insisting on a width the screen does not have.

What changed in the code

The fix as a diff: removed lines are marked with a minus, added lines with a plus.

Markup diff — catalogue.css, the grid track
.catalogue {
  display: grid;
removed:   grid-template-columns: repeat(3, 18em);  /* never narrows */
added:   grid-template-columns: repeat(auto-fit, minmax(min(100%, 12em), 1fr));
  gap: 1em;
}

A fixed track cannot reflow. Letting each track shrink to the width available, and letting auto-fit decide the count, is what turns three columns into one.

Watch it happen

This demo plays the failure out over time. It is silent and captioned, and you can pause or scrub at any point.

NorthboundCatalogue · Orders · Account
CaptionFull width: a three-column catalogue with inline navigation.
0:00 / 0:12CC onSilent · looping

How to test

Check your own interface against 1.4.10, one step at a time.

  1. Set the browser window to 1280px wide and zoom to 400%, or set the device toolbar in DevTools to 320px wide. Both give a viewport 320 CSS pixels wide.
  2. Scroll through the page. Check you only need to scroll up and down, never sideways, to read the text.
  3. Check nothing has been lost. Navigation can move into a menu button, but every link, control and piece of content must still be there and work.
  4. Note anything that still scrolls sideways and check it needs two dimensions to make sense, such as a data table, a map, a diagram or a video. The text around it must still reflow.
  5. For content that scrolls sideways by design, such as text set in vertical lines, set the viewport to 256 CSS pixels tall and check you only need to scroll in one direction.

Common questions

Can a data table scroll sideways and still pass 1.4.10?

Yes. A data table needs two dimensions to make sense, so it is exempt, ideally inside its own scrolling container. The headings and text around the table still have to reflow.

Can I hide content behind a menu at 320px?

Yes, as long as people can still reach it. Moving the navigation into a menu button is not a loss of content.

Is 1.4.10 the same as 1.4.4 Resize Text?

No. 1.4.4 asks that text can grow to 200% without loss. 1.4.10 asks that, at 400% zoom on a 1280px window, people can read the page by scrolling in one direction only.

Try it yourself

A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.

Try it: zoom to 400%

How to use this lab

  1. Goal. Zoom a catalogue page to 400% and read it without scrolling sideways.
  2. The controls. The choices under “Zoom” set the browser to 100%, 200% or 400%; each step leaves fewer CSS pixels, the units a page is laid out in, across the window: 320 at 400%. The choices under “Page layout” make the page Fixed width, 960 CSS pixels wide, or Reflows, so it narrows to one column. The readouts give the window size and say which ways the page scrolls.
  3. Try this. The lab starts at 100% with Fixed width, and passes. Choose 200% or 400% and watch the page scroll sideways as well as down. Then choose Reflows.
  4. What it means. If the page fits the window’s width at 400% and only scrolls down, 1.4.10 passes. If it has to scroll sideways as well, 1.4.10 fails: people who zoom in to read must scroll back and forth along every line. The verdict line under the lab says which.
Zoom
Page layout
  • 1280 by 1024CSS pixels in the window
  • Scrolls down onlyThe page fits the window’s width

1.4.10 passes

Also in guideline 1.4

Criteria in the same guideline often fail together.