Test campaign page reflow at 320 px

Check that an offer, its condition, and its action remain readable and reachable when a page narrows.

Asset preparation3 min read

A campaign offer can look complete on a desktop and lose its condition or action when the page is enlarged. Test the whole offer as live page content: the title, qualifying text, and link need to remain readable and usable together.

Set up the check

At a desktop viewport 1280 CSS pixels wide, set browser page zoom to 400%. This commonly yields a viewport about 320 CSS pixels wide; check the actual viewport in developer tools because browser chrome and window size affect it. Alternatively, resize the viewport to 320 CSS pixels at 100% for a layout check. That is an equivalent width, not a replacement for checking actual browser zoom. Pinch zoom magnifies the visual viewport differently and is a separate interaction.

For vertically scrolling content, WCAG's Reflow guidance uses 320 CSS pixels as the width at which content should work without loss of information or functionality and without scrolling in two directions to read it. Some content genuinely requires a two-dimensional layout; an ordinary offer row does not acquire that exception merely because it was designed horizontally.

Try a complete offer

Save this constructed example as an HTML file and open it in a browser. At wide widths the title, condition and action share a row. At narrow widths the grid stacks them in the same reading order. The link is an example destination; replace it with the real campaign destination in production.

HTML
<!doctype html>
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Offer reflow example</title>
<style>
  * { box-sizing: border-box; }
  body { margin: 0; padding: 1rem; font: 1rem/1.5 system-ui, sans-serif; }
  .offer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; background: #eee; }
  .offer h1, .offer p { margin: 0; overflow-wrap: anywhere; }
  .offer a { display: inline-block; padding: .75rem 1rem; color: white; background: #25205c; border-radius: .3rem; }
  @media (max-width: 40rem) { .offer { grid-template-columns: minmax(0, 1fr); } .offer a { justify-self: start; } }
</style>
<section class="offer" aria-labelledby="offer-title">
  <h1 id="offer-title">Save 20% on your first order</h1>
  <p>Valid for new customers through Sunday.</p>
  <a href="#details">See offer details</a>
</section>
<p id="details">Offer details appear here.</p>
</html>

At 320 CSS pixels, read the complete title and condition, then use Tab to reach the link and activate it. Check that focus is visible and that no part of the offer needs horizontal scrolling. Vertical scrolling to reach later content is expected. Repeat with the actual campaign copy, including long translated words and the real action destination.

Provoke and record the failure

For comparison, temporarily replace the grid declaration with display: flex; width: 800px and remove the media rule. At 320 px the fixed-width row extends beyond the viewport; the condition and link can fall outside the visible area, requiring horizontal scrolling to reach them. If an ancestor clips overflow, they may be cut off instead. Restore the responsive rule after the check.

Record the viewport, zoom, browser, affected text and whether the action was reachable by keyboard. A screenshot alone cannot prove focus or activation. Check the rest of the page too: passing this constructed offer does not establish that the campaign page as a whole passes Reflow.

Image tools
All guides
Test campaign page reflow at 320 px | Formatry Media — Formatry