Sub topic 13
Planning for Reflow, Zoom and Small Screens
Assume you can create a basic wireframe, understand common interface components, and know how HTML and CSS create a web page. This chapter focuses on how a layout behaves when users enlarge text, zoom the page, or use a narrow viewport.
Reflow is a design requirement
Reflow means that content rearranges into the available width instead of forcing users to scroll in two directions. A responsive layout should remain usable at a viewport width of 320 CSS pixels. A CSS pixel is a browser-independent unit used to describe screen dimensions.
WCAG 2.2 includes a Reflow requirement at 400% zoom for typical desktop content. At that zoom level, a layout that is 1,280 CSS pixels wide behaves like a 320-pixel viewport. Users should usually need only vertical scrolling. Exceptions include content that naturally requires two dimensions, such as a large data table, map, diagram, or game board.
Design the narrow state in the wireframe, not only the wide state. Record what happens to each region:
| Wide layout | Narrow layout |
|---|---|
| Two-column order form | One column, with summary after the form |
| Horizontal navigation | Menu button or wrapped navigation |
| Four-card product row | One card per row |
| Wide comparison table | Clearly identified horizontal scroll area |
Avoid treating a phone breakpoint as the only small-screen case. Users can also zoom a desktop page, increase text size, or resize a browser window.
Check zoom and text enlargement
A useful wireframe review asks:
- Does text remain visible when it becomes 200% larger?
- Do buttons and form controls remain reachable?
- Does content overlap when labels wrap to two or three lines?
- Can users complete the main task without horizontal scrolling?
- Does a fixed header cover content after zoom?
- Do dialogs fit inside the viewport and remain closable?
Do not place essential content in fixed-height boxes. Let containers grow when text wraps. Avoid embedding labels inside images. Keep controls close to the content they control after the layout changes.
This example uses flexible columns and allows text to wrap:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Responsive order summary</title>
<style>
.order-layout {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
gap: 1.5rem;
}
.panel {
padding: 1rem;
border: 1px solid #777;
overflow-wrap: anywhere;
}
@media (max-width: 40rem) {
.order-layout {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<main>
<h1>Review your order</h1>
<div class="order-layout">
<section class="panel">
<h2>Delivery details</h2>
<p>Enter an address where the parcel can be received.</p>
</section>
<aside class="panel">
<h2>Order summary</h2>
<p>Two items, total €48.00</p>
</aside>
</div>
</main>
</body>
</html>The minmax(0, ...) values prevent grid items from forcing the page wider than the viewport. The media query changes the two columns to one. The wireframe should document that change and its content order.
Annotate the wireframe
For each responsive state, annotate:
- Minimum supported content width.
- Which columns stack and in what order.
- Whether navigation wraps, collapses, or remains visible.
- How tables, code, maps, and other two-dimensional content work.
- Whether fixed or sticky elements change behavior.
- The expected result at 200% text enlargement and 400% page zoom.
Exercise
A wireframe has a fixed-height card containing a long heading and a button. What should you test before approving it for small screens?
Show answer
Test text enlargement, page zoom, narrow widths, and longer translated text. Confirm that the card grows, the heading remains visible, and the button stays reachable without horizontal scrolling or overlap.