WCAG Reflow Testing: 400% Zoom and 320 px Without Scrolling
WCAG reflow testing: check 1.4.10 at 400% zoom and 320 px, plus resize text and text spacing, with CSS fixes, a culprit-finding script and data from 156 sites.
Kazi Khalid Hasan Tamim · BugViso Team
15 min read
WCAG reflow (success criterion 1.4.10, Level AA) requires a page to work at 320 CSS pixels wide, which is what a 1280-pixel window becomes at 400 % zoom, without horizontal scrolling and without losing content or functions. Test it by zooming a 1280 px window to 400 %, or by setting the viewport to 320 px. In our test of 156 random homepages, 25 % scrolled sideways at 320 px, 10 % blocked zoom and 62 % clipped text at WCAG's text-spacing values.
By the end you'll know exactly what 1.4.10 and its three neighbouring criteria require, how to test all four in five minutes, the six CSS patterns that cause most failures and their fixes, and a script that finds the element pushing your page sideways.
Data used: 156 homepages that loaded cleanly, out of 268 domains drawn at random from the Tranco top-sites list (list 947V2, ranks 1,001 to 50,000), tested on 4 December 2026 with Playwright 1.52, Chromium 136 and axe-core 4.10.2 (WCAG 2.0 to 2.2 A and AA rules) at 1280 × 800 px. We excluded 112 domains that didn't resolve, failed TLS, timed out, returned an HTTP error or showed a bot challenge. Homepages only; sites aren't named. Each page was reloaded at 320 × 640 px for the reflow check; the 1.4.12 spacing was applied at 1280 px.
Manual accessibility testing series: How to run a full accessibility audit · Keyboard testing · Screen reader testing · ARIA mistakes · Accessible forms · Reflow and zoom testing (this post)
What WCAG Reflow Requires, and the Criteria That Travel With It
Reflow is for people who zoom. Someone with low vision may run their browser at 300 % or 400 %. If the layout doesn't adapt, every line of text needs a horizontal scroll to read, which on a long page is close to unusable.
The W3C's Understanding 1.4.10 Reflow spells out the numbers: vertically scrolling content must work at a width equivalent to 320 CSS px, and horizontally scrolling content at a height equivalent to 256 CSS px. Note 1 of the criterion gives the conversion: 320 CSS px is a 1280 px wide viewport at 400 % zoom, and 256 CSS px is a 1024 px tall viewport at 400 %.
Parts of a page that need a two-dimensional layout for their meaning are exempt. The W3C's examples include maps, diagrams, video, games, data tables and interfaces where toolbars must stay in view. A wide table may scroll on its own; the page around it may not.
Three other criteria are usually tested in the same session:
| WCAG 2.2 criterion | Level | Requirement |
|---|---|---|
| 1.4.4 Resize Text | AA | Text can be resized to 200 % without assistive technology and without losing content or functions |
| 1.4.10 Reflow | AA | No two-dimensional scrolling at 320 CSS px wide (or 256 px tall for horizontal content) |
| 1.4.12 Text Spacing | AA | Nothing is lost when users set line height 1.5×, paragraph spacing 2×, letter spacing 0.12× and word spacing 0.16× the font size |
| 2.4.11 Focus Not Obscured (Minimum) | AA | Sticky headers and footers, which grow as the page zooms, don't fully cover the focused element |
How to Test Reflow in Five Minutes
Use a desktop browser, a 1280 px wide window and the zoom shortcut. That reproduces what a low-vision user actually does, scrollbars and all.
- Set the window to 1280 px wide. In Chrome DevTools, the device toolbar's Responsive mode lets you type the width; otherwise resize the window and check
window.innerWidthin the console. - Zoom to 400 % with Ctrl/Cmd and the plus key until the zoom indicator shows 400 %.
- Scroll to the bottom of the page. You should never need to scroll sideways to read a line of text. Watch for a horizontal scrollbar, text running off the right edge and overlapping elements.
- Use the page. Open the navigation, open a modal, fill in a form field, dismiss the cookie banner. A menu or dialog that's taller than the 256 px of usable height needs to scroll inside itself.
- Check the sticky parts. At 400 %, a sticky header can take half the visible height. If it covers the focused element when you Tab, you've also found a 2.4.11 failure.
- Apply the text spacing. Paste the CSS below into DevTools (or a bookmarklet) and look for text cut off inside buttons, cards and tabs.
- Test text-only zoom at 200 %. In Firefox, choose View → Zoom → Zoom Text Only and zoom to 200 %. This isolates 1.4.4: text grows, the layout box doesn't, and fixed-height containers clip.
/* WCAG 1.4.12 text spacing override: paste into DevTools */
* { line-height: 1.5 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important; }
p { margin-bottom: 2em !important; }Teams sometimes get different results from zooming a 1280 px window and from setting the viewport straight to 320 px, mostly because desktop scrollbars take a bigger share of a real 320 px window. Both are reasonable approximations. When they disagree, trust the zoomed window: that's the experience the criterion describes.
What We Found at 320 px on 156 Homepages
We reloaded every homepage at 320 × 640 px and compared the page's scroll width with the viewport, read the viewport meta tag, then applied the 1.4.12 text spacing and counted elements whose text no longer fit.
| Check | Homepages | Share |
|---|---|---|
| Horizontal scroll at 320 px (1.4.10) | 39 of 156 | 25.0 % |
| Wider than 320 px but the scroll is hidden, so content is cut off | 3 of 156 | 1.9 % |
Zoom blocked (user-scalable=no or maximum-scale below 2) | 16 of 156 | 10.3 % |
| No viewport meta tag at all | 8 of 156 | 5.1 % |
| Text spacing clips at least one element (1.4.12) | 96 of 156 | 61.5 % |
| Horizontal scroll, blocked zoom or clipped text | 115 of 156 | 73.7 % |
On the 39 homepages that scrolled sideways, the median overhang was 44 px. That's usually one element sticking out, not a broken layout, which is why a script that names the culprit is worth more than a screenshot.
Text spacing was the surprise: 61.5 % of homepages clipped at least one element (a median of 4 per page) once line height, letter spacing and word spacing reached the WCAG values. Some clips will be decorative or harmless, so treat the count as a review list, not 96 confirmed failures. axe-core's meta-viewport rule agreed with our zoom check almost exactly (17 homepages against our 16).
The 6 CSS Patterns That Break Reflow, and Their Fixes
1. Fixed widths
A container set to width: 1200px stays 1200 px at any zoom level. Every fixed width wider than 320 px is a reflow failure waiting to happen. Our guide to fixing horizontal scroll on mobile has a DevTools method for finding these fast.
/* ❌ Broken */
.container { width: 1200px; }
/* ✅ Fixed: fluid up to a maximum */
.container { max-width: 1200px; width: 100%; padding-inline: 1rem; box-sizing: border-box; }2. Rows that refuse to wrap
Navigation bars, button groups and card rows built with display: flex and no wrapping keep every item on one line. At 320 px the last items fall off the screen.
/* ❌ Broken */
.actions { display: flex; gap: 1rem; }
/* ✅ Fixed: items wrap; grids collapse to one column on their own */
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1rem; }The W3C documents both approaches as sufficient techniques for 1.4.10: CSS Flexbox (technique C31) and CSS Grid with media queries (C32).
3. Long unbroken strings
URLs, email addresses, product codes and long German compound words can't wrap at a space, so they push their container wider.
/* ✅ Fixed: break anywhere as a last resort */
.prose, td, .card { overflow-wrap: anywhere; }4. Media and embeds without a maximum width
Images with a width attribute, iframes from video and map providers, and <pre> code blocks are the usual offenders.
img, video, iframe, svg { max-width: 100%; height: auto; }
pre { overflow-x: auto; } /* code may scroll inside its own box */5. Wide data tables
A data table is one of the allowed exceptions, but only the table may scroll, not the page. Wrap it in a focusable scroll container with a name, so keyboard users can scroll it too.
<div class="table-scroll" role="region" aria-label="Price comparison" tabindex="0">
<table>…</table>
</div>
<style>.table-scroll { overflow-x: auto; max-width: 100%; }</style>6. Zoom switched off in the viewport meta tag
user-scalable=no or a maximum-scale below 2 tells mobile browsers to block pinch zoom. MDN's viewport meta reference warns that it prevents people with low vision from reading the page. Some browsers ignore the setting (iOS has done so by default since iOS 10), but many users still meet it.
<!-- ❌ Broken -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- ✅ Fixed -->
<meta name="viewport" content="width=device-width, initial-scale=1">One more trap sits behind several of these: overflow-x: hidden on <html> or <body>. It removes the horizontal scrollbar, so the page looks fine, but anything wider than the viewport is simply cut off. That's still a 1.4.10 failure, because content is lost, and it's harder to spot.
Find the Element Pushing Your Page Sideways
The script loads the page at 320 px, lists the elements that stick out past the right edge (skipping the children of scroll containers, which are allowed to), reports whether the viewport meta blocks zoom, then applies the 1.4.12 spacing and counts clipped text.
#!/usr/bin/env python3
"""WCAG 1.4.10 reflow, 1.4.4 zoom and 1.4.12 text-spacing smoke test.
Usage: python reflow_check.py https://example.com
Needs: pip install playwright && playwright install chromium
Loads the page at 320 CSS px wide (what 1280 px at 400 % zoom gives you),
lists the elements that stick out past the right edge, checks whether the
viewport meta blocks zoom, then applies the 1.4.12 spacing and counts clipped text.
"""
import asyncio, sys
from playwright.async_api import async_playwright
WIDE = r"""() => { const W = document.documentElement.clientWidth, out = [];
// a child of a scroller or a clipping box is allowed past the edge: report only what widens the page
const contained = e => { for (let p = e.parentElement; p && p !== document.body; p = p.parentElement)
if (/auto|scroll|hidden|clip/.test(getComputedStyle(p).overflowX)) return true; return false; };
for (const e of document.querySelectorAll('body *')) {
const r = e.getBoundingClientRect();
if (r.right > W + 1 && r.width > 1 && !contained(e) && !(e.parentElement && e.parentElement.getBoundingClientRect().right > W + 1))
out.push(`${Math.round(r.right - W)} px <${e.tagName.toLowerCase()}${e.id ? ' id="' + e.id + '"' : ''}>`);
}
return { scroll: document.documentElement.scrollWidth, width: W, culprits: out.slice(0, 8),
viewport: (document.querySelector('meta[name=viewport]') || {}).content || '(none)' }; }"""
SPACING = "*{line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important}p{margin-bottom:2em!important}"
CLIPPED = r"""() => [...document.querySelectorAll('body *')].filter(e => { const s = getComputedStyle(e);
const r = e.getBoundingClientRect(); // 1 px boxes are screen-reader-only text, clipped on purpose
return r.width > 2 && r.height > 2 && /hidden|clip/.test(s.overflow + s.overflowX + s.overflowY) && (e.innerText || '').trim().length > 2
&& e.children.length <= 3 && (e.scrollHeight > e.clientHeight + 2 || e.scrollWidth > e.clientWidth + 2); })
.map(e => (e.innerText || '').trim().slice(0, 50))"""
async def main(url):
async with async_playwright() as pw:
page = await (await pw.chromium.launch()).new_page(viewport={"width": 320, "height": 640})
await page.goto(url, wait_until="domcontentloaded")
await page.wait_for_timeout(2500)
w = await page.evaluate(WIDE)
print(f"320 px: page is {w['scroll']} px wide", "-> PASS" if w["scroll"] <= w["width"] + 1 else "-> HORIZONTAL SCROLL")
for c in w["culprits"]:
print(" sticks out by", c)
vp = w["viewport"].lower().replace(" ", "")
blocked = "user-scalable=no" in vp or "user-scalable=0" in vp or any(
t.startswith("maximum-scale=") and float(t.split("=")[1] or 0) < 2 for t in vp.split(","))
print("viewport meta:", w["viewport"], "-> ZOOM BLOCKED" if blocked else "-> zoom allowed")
await page.set_viewport_size({"width": 1280, "height": 800})
await page.add_style_tag(content=SPACING)
clipped = await page.evaluate(CLIPPED)
print(f"text spacing (1.4.12): {len(clipped)} element(s) clip their text", *clipped[:6], sep="\n ")
asyncio.run(main(sys.argv[1]))Output from our own homepage, unedited:
$ python reflow_check.py https://bugviso.com
320 px: page is 320 px wide -> PASS
sticks out by 7 px <div>
viewport meta: width=device-width -> zoom allowed
text spacing (1.4.12): 1 element(s) clip their text
Site footerThe page passes at 320 px, zoom is allowed, and the spacing test flagged one footer block worth a look. A 7 px overhang with no page scroll usually means a decorative element sits slightly outside the layout and is clipped by an ancestor; check that nothing readable is in it. That's the pattern for using the script: it narrows a page down to a handful of elements, and you judge each one at 400 % zoom.
How BugViso Catches Overflow on Real Phones
BugViso loads every audited site on an emulated iPhone 16 Pro (390 px wide) and Pixel 9 (412 px wide) with touch enabled, and reports horizontal overflow together with the element causing it and how many pixels it sticks out. The same pass checks tap targets against WCAG 2.2's 24 × 24 px minimum, records the viewport meta tag, and axe-core's meta-viewport rule flags pages that disable zoom. Clipped text detection runs across the crawl as well.
Phone widths are wider than the 320 px reflow test, so a page can pass on a phone and still fail at 400 % zoom. Treat the mobile accessibility audit as the first net that catches the worst overflow on every page, and the five-minute zoom test above as the check you run on each template.
Edge Cases That Fool Testers
overflow-x: hiddenon the body. No scrollbar, so it looks like a pass, but content past the edge is gone. Check that the page's scroll width matches its body width.- Viewport-unit font sizes.
font-size: 4vwdoesn't grow with browser zoom in the same way asrem, which can fail 1.4.4. Useclamp(1rem, 2.5vw + 0.5rem, 2rem)so text still scales. - Fixed-height containers. A card or button with
height: 48pxclips its text at 200 % text zoom or under the 1.4.12 spacing. Usemin-heightand padding. - Modals and cookie banners. At 400 % zoom the viewport is only 256 px tall. A dialog with
position: fixedand nooverflow-y: autocan put its own close button out of reach. - Carousels and tab strips. Horizontally scrolling components are allowed if they're the content's natural layout and keyboard users can scroll them, but the page itself mustn't scroll sideways.
- Responsive breakpoints that skip 320. Many design systems define a smallest breakpoint of 360 or 375 px. Check the layout between 320 px and your smallest breakpoint.
Frequently Asked Questions
What is WCAG 1.4.10 reflow?
WCAG 1.4.10 Reflow is a Level AA success criterion, added in WCAG 2.1, that requires content to be usable at a width of 320 CSS pixels without scrolling in two directions and without losing information or functions. Content that needs two-dimensional layout, such as maps, data tables and video, is exempt. It exists so that people who zoom to 400 % can read by scrolling in one direction only.
Why does WCAG use 320 CSS pixels for reflow?
320 CSS px is what a 1280 px wide browser window becomes at 400 % zoom, a common zoom level for people with low vision, and it's also the width of small phones. Testing at that width shows whether text reflows into a single column. The equivalent figure for content that scrolls sideways is 256 CSS px of height.
Is horizontal scrolling ever allowed under WCAG?
Yes, for parts of the content that need two-dimensional layout to be understood or used: data tables, maps, diagrams, video, games, presentations and toolbars that must stay in view. Those components may scroll horizontally on their own. The page as a whole must not need horizontal scrolling to read text at 320 px.
Does user-scalable=no fail WCAG?
It's widely treated as a failure of 1.4.4 Resize Text, and axe-core's meta-viewport rule flags it, along with a maximum-scale below 2. MDN warns that it stops people with low vision from reading the page. Remove both settings; modern mobile layouts don't need them.
What's the difference between reflow and resize text?
1.4.4 Resize Text asks that text can grow to 200 % without losing content; it can be met with browser zoom even if the page then needs some scrolling. 1.4.10 Reflow asks that at 400 % zoom (320 px wide) the content reflows so only vertical scrolling is needed. A page can pass 1.4.4 and fail 1.4.10.
How do I test WCAG text spacing?
Apply the four values from 1.4.12 with a user stylesheet or the CSS snippet in this guide: line height 1.5 times the font size, paragraph spacing 2 times, letter spacing 0.12 times and word spacing 0.16 times. Then look for text that's cut off or overlapping in buttons, navigation, cards and tabs. Fixed heights and overflow: hidden cause almost all failures.
Zoom Your Busiest Template to 400 % Today
Open the template most of your traffic lands on, set the window to 1280 px, zoom to 400 % and scroll to the bottom. If you never scroll sideways and nothing is cut off, you pass; if you do, the script above will name the element. An automated audit does the same overflow check on emulated phones across every page it crawls.
Written by
Kazi Khalid Hasan Tamim · BugViso Team
Kazi writes BugViso’s guides on website audits, Core Web Vitals, technical SEO, accessibility and AI search. The data in them comes from audits BugViso runs in a real Chromium browser, including our 219-site study of website health.
Summarise with AI
Open this guide in your assistant.
Follow BugViso
New guides and audit data as we publish them.
AI visibility tracker
Is your brand in AI answers?
See how often AI assistants mention you, cite your site and rank you against your competitors.
- ChatGPT
- Gemini
- Perplexity
- Claude
- AI Overviews
See where your site stands
Run a free BugViso audit for SEO, speed, accessibility and AI search readiness — with fixes you can ship today.