Rule
Content reflow
Content should reflow to one-dimensional scrolling.
- Rule
reflow- WCAG 2.2
- 1.4.10 Reflow (opens in a new tab) (Level AA)
- Severity
- Moderate
What it checks
Measures whether the page already scrolls sideways at the width it is being audited at. If the content is wider than the viewport by more than a pixel, the page is flagged, with the size of the overflow.
When a person decides
This rule never fails. The criterion asks for content to fit a width of 320 CSS pixels without scrolling in two directions, and the audit may run at another width, where breakpoints change the layout. Data tables, maps and images are also allowed to scroll in two directions, and the geometry cannot tell them apart from other content. A person checks the page at 320 pixels wide.
Example
Sent to review
<div style="width: 960px">
<p>Opening hours, prices and directions for the museum.</p>
</div>
Passes
<div style="max-width: 960px">
<p>Opening hours, prices and directions for the museum.</p>
</div>
The engine is tested against both examples.
How to fix it
Replace fixed widths with max-width and flexible layouts, so content fits a narrow viewport and only scrolls vertically.
Check your own pages
This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.