Support for reflow, resize, and text spacing changes
Basic principle
Web content must remain usable and readable when users adjust the zoom level, resize the browser window, or apply custom text spacing. This ensures people with low vision, cognitive disabilities, or reading difficulties can access content without losing functionality or requiring horizontal scrolling. Layouts should adapt fluidly up to 400% zoom, and custom spacing settings—such as increased line height, letter spacing, or word spacing—must not cause content to overlap, be cut off, or become unreadable.
Testing
Tools: keyboard, browser inspector, Text Spacing Bookmarklet, Firefox browser
- Test Reflow at 200% zoom.
- Make your browser window 1280px wide by narrowing it or use the viewport tools for inspecting responsive mode, and set the width to 1280px.
- Press
Ctrl +(Windows) orCmd +(Mac) repeatedly until you reach 200% zoom. - Scroll through the pages and verify that:
- Content adapts (e.g., stacks vertically, wraps appropriately).
- All content is visible without horizontal scrolling (except for elements requiring it, like data tables).
- Text is not overlapping or cut off.
- Interactive elements (buttons, links, forms) are still usable.
- Zoom to 400% and verify reflow at this zoom level.
- Apply custom text spacing to test for responsiveness when text spacing is changed. Use the browser inspector to modify the CSS or this Text Spacing Bookmarklet. Verify that the text is responsive and readable when the following is changed:
- Line height: 1.5x font size.
- Letter spacing: 0.12x font size.
- Word spacing: 0.16x font size.
- Paragraph spacing: 2x font size.
- Open the Firefox browser, enable the Zoom Text Only setting, and verify that the text is responsive and readable with this setting enabled.
WP Accessibility Knowledge Base