A Practical Guide to Reflow and Zoom
Whether content stays readable and usable when the browser is zoomed in or the viewport is narrow, without forcing the reader to scroll in two directions to follow a line of text.
On this page
The key figures
- WCAG 1.4.10 Reflow, AA
- no two-dimensional scrolling at a width equivalent to 320 CSS pixels
- What 320 CSS pixels represents
- 400% zoom on a 1280 pixel wide viewport
- WCAG 1.4.4 Resize Text, AA
- text can be resized to 200% without loss of content or function
- WCAG 1.4.12 Text Spacing, AA
- no loss of content when line, paragraph, letter and word spacing are increased
- Reflow exceptions
- content that needs two dimensions, such as maps, data tables and diagrams
Why this is worth getting right
People with low vision routinely zoom to 200% or more, and WCAG makes reflow, text resizing and text spacing level AA requirements.
Do this, not that
Do
- Test every template at 400% browser zoom
- Use relative units for font sizes
- Let containers grow with their text instead of fixing heights
- Check sticky headers and footers at high zoom
- Apply the WCAG text spacing values during testing
Don’t
- Disabling pinch zoom in the viewport meta tag
- Fixed-height boxes that clip enlarged text
- Sticky elements that cover most of the screen when zoomed
- Horizontal scrolling for ordinary paragraphs
When to bring in help
Our advice Bring in help when layouts break at high zoom across many templates, or when an audit reports reflow failures you cannot reproduce.
Where this comes from
- W3C Web Accessibility Initiative — Understanding SC 1.4.10 Reflow
- W3C Web Accessibility Initiative — Understanding SC 1.4.4 Resize Text
- W3C Web Accessibility Initiative — Understanding SC 1.4.12 Text Spacing
The figures and practices above come from the sources listed.
Working on something like this?
We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.