Reflow and Zoom
Content must work at 400 percent zoom without horizontal scrolling, which is the same as working at 320 pixels wide.
Definition
WCAG 1.4.10 requires content to be presentable without loss of information or functionality, and without two-dimensional scrolling, at a width equivalent to 320 CSS pixels. Data tables and complex diagrams are exempt.
Craft convention. True because the industry converged on it. Breaking it costs familiarity, not correctness.
On this plate
Reach for this when
- Accessibility review.
- Testing responsive behaviour.
- Reviewing admin and internal tools, which are frequently skipped.
Common mistakes
- Fixed-width containers.
- Sticky chrome that dominates a short viewport.
- Desktop-only application shells.
Testing it
- Set the browser to 400 percent zoom on a 1280 pixel wide window. That is the 320 pixel equivalent.
- Check that no horizontal page scrolling is required.
- Check that sticky headers and footers do not consume the whole viewport.
- Check that fixed-position elements do not cover content.
- Check that long strings such as URLs wrap rather than forcing overflow.
- Check that modals remain fully visible and scrollable.
Where reflow fails, and what to do
| Surface | What breaks | Approach |
|---|---|---|
| Data tables | Horizontal scrolling of the whole page rather than the table | Scroll the table inside its own container, which the criterion permits, and keep the first column visible. |
| Dashboards | Fixed multi-column grids that never collapse | Reflow to a single column and let the primary number come first. |
| Modals | Fixed height, so the actions end up off screen | Cap the height in viewport units and scroll the body, never the buttons out of reach. |
| Sticky headers and footers | Together they consume most of a zoomed viewport | Collapse or unstick them below a height threshold. |
| Long unbroken strings | A URL or token forces the page wider | overflow-wrap: anywhere on the containers that receive user content. |
| Side-by-side editors | Two panes that cannot both be usable at 320 pixels | Stack them with a toggle, since two-dimensional scrolling is only allowed where it is essential. |
Building for 320 pixels
Do
- Test at 400 percent zoom on a 1280 pixel window, which is the equivalent the criterion describes.
- Let content scroll in one direction only, vertically for most pages.
- Allow a specific region to scroll horizontally where the content genuinely requires it, such as a wide table or a diagram.
- Check the admin and internal tools, since those are where the failures actually are.
Do not
- Do not set a min-width on the page or its main containers.
- Do not keep several fixed-position bars visible at high zoom.
- Do not hide functionality at narrow widths that is available at wide ones, since zoomed users get the narrow layout.
- Do not rely on a device-width media query to detect this. A zoomed desktop reports a narrow viewport and is not a phone.
400 percent zoom is a 320 pixel viewport
Commonly confused with
Close neighbours that get substituted for each other. The difference is stated first, then the condition that picks one over the other.
Text Resize
AccessibilityText scales to 200 percent without losing content or function, layout unchanged.
Key difference
Reflow is about the viewport: everything must work in a 320 pixel column with no sideways scrolling. Text resize is about the type alone scaling to 200 percent. A fluid layout can pass reflow and still break when only the text grows.
Use Reflow and Zoom when
- The whole layout has to survive, not just the words.
- The failure is two-dimensional scrolling or a clipped region.
- You are testing by narrowing the window or zooming the page.
Use Text Resize when
- Only the type size is changing, as with an OS font setting.
- The failure is text clipped inside a fixed-height container.
- The fix is relative units instead of absolute ones.
Local chart
A11Y·013 · Region V · Grid A3
This entry and the entries it is stated to connect with. Each line is labelled with what the connection means.
Sources
Where a source establishes something narrower than the popular reading of it, the note says so.
- [1]
Understanding Success Criterion 1.4.10: Reflow
W3C, WCAG 2.1
Continue from here
Each link says what the connection is, so you can tell a principle from an alternative from a thing people mix this up with.
Applies when you are designing
Practical example
A worked decision where this was the deciding factor.
- Putting a Data Table on a PhoneCASE·005 · Case study
Check your work
Review passes that test whether this was done properly.
- Accessibility ChecklistCHK·002 · Checklist
- Web UX ChecklistCHK·011 · Checklist
Related concept
Connected closely enough to change how you apply this.
- Text SpacingA11Y·015 · Accessibility
- BreakpointsFND·045 · UI foundation
- ContainersFND·041 · UI foundation
- Responsive LayoutFND·043 · UI foundation
- Design QAFLOW·003 · Workflow