slop audit
Blog post 95 / Accessibility and semantics

Text resize accessibility: test your website at 200%

Test text resize accessibility at 200% zoom, fix clipped labels and controls, and keep useful browser evidence before your website launches.

By Slop Audit · 7 min read

Text resize accessibility means people can enlarge the words on your website and still read the content and use its controls. Before launch, test at 200% using browser zoom, inspect the states involved in the main task, and fix containers that cut off enlarged labels or instructions.

A student portfolio can pass a phone-width screenshot check while its project descriptions disappear when text grows. A registration page can keep every field visible yet hide the last line of an error. This guide gives developers a repeatable resize test, a small CSS example, and a way to keep useful release evidence.

Text resize accessibility launch checklist

  1. Choose a representative route with real labels and long content.
  2. Record the browser, window size, and baseline zoom level.
  3. Increase browser zoom through intermediate levels to 200%.
  4. Read the page and complete its main task at the enlarged setting.
  5. Check text-only resizing separately where the browser supports it.
  6. Repair lost text, overlapping regions, and unreachable actions.
  7. Retest the failing state and the normal presentation.

Start with navigation, pricing, project cards, and forms rather than only the home-page heading. A larger heading is easy to notice; a missing instruction below a field can stop someone from completing the task.

Understand WCAG Resize Text and the separate reflow check

WCAG 2.2 Success Criterion 1.4.4, Resize Text, is Level AA. With exceptions for captions and images of text, it requires text enlargement up to 200% without losing content or functionality and without requiring assistive technology. It includes text labels and text-based controls. W3C's Resize Text explanation describes the requirement and supported scaling mechanisms.

Page zoom can be a valid mechanism; a separate text-size switch on your site is not automatically necessary. Test intermediate zoom steps too. A responsive breakpoint that reduces font size can counteract enlargement, so inspect what happens to the actual words rather than relying only on the toolbar percentage.

Reflow answers a related question: can ordinary vertically scrolling content fit a width equivalent to 320 CSS pixels without losing information, functionality, or requiring two-dimensional scrolling? W3C's Reflow explanation describes the requirement and exceptions for content needing a two-dimensional layout. A 1280 CSS pixel starting viewport at 400% zoom is one equivalent test condition.

Keep the results separate. Passing the 200% resize review does not establish reflow, and a narrow viewport alone does not establish text enlargement. Use the horizontal overflow CSS guide when the reflow pass exposes page-wide scrolling.

Run a browser zoom test on the deployed route

Open the intended release URL in a supported desktop browser and reset zoom to 100%. Keep the browser window size stable. Record the route, build, browser version, and initial viewport width so someone else can reproduce the test.

Use the browser's zoom menu to increase the setting, checking the available steps through 200%. Do not substitute a CSS transform on the page. At each step, inspect the whole route and open the controls used in the main task.

For a course registration page, a useful pass is:

  • Open the navigation and read every destination label.
  • Select a course with a long title and check the complete price and description.
  • Trigger an empty-form error using test data in a safe environment.
  • Read the error, correct the field, and reach the next action.
  • Open any terms disclosure and reach its final link or button.

Watch for sticky headers occupying most of the usable screen, an action pushed behind a fixed footer, and dialog content whose last button cannot be reached. Scroll and use Tab and Shift+Tab; a visible button may still have its focus indicator hidden by a neighboring layer. Follow the keyboard accessibility testing checklist for the full navigation pass.

Changing position or wrapping onto more lines is acceptable when the content and task remain available. A screenshot that differs from the baseline is a prompt to inspect the result, not automatically a defect.

Check text-only zoom and browser font preferences

Full-page zoom scales the interface together. Text-only zoom can expose another constraint: letters grow while a fixed-size container remains small. Firefox provides a Zoom Text Only option in its View menu, as documented in Mozilla's font-size and zoom guide.

For an additional robustness pass, reset the page, enable text-only zoom, and increase it to 200%. Revisit the exact states from the page-zoom pass. Record the mode explicitly; “200%” without the mechanism is incomplete evidence. Restore the option afterward so later tests start from known conditions.

Also try a larger browser default font size. A root declaration such as font-size: 100% allows relative sizing to follow that preference, while an explicit pixel root size fixes that baseline. rem refers to the root font size and em depends on the relevant element's font size; MDN explains the sizing relationships in its font-size reference.

Relative units are useful, but they are not a passing test by themselves. A button can use rem text and still clip it with a fixed height. Pixel-sized text can enlarge with full-page zoom. Judge the rendered result under the mechanism you are testing.

Fix containers that cannot grow with text

Suppose a project-card link uses height: 36px, white-space: nowrap, and overflow: hidden. Its second line cannot appear when the label needs more space. Inspect the link and its card ancestors before editing the font.

Save this small fixture as resize-demo.html and serve it locally. The action is a link to a section on the same page, so you can test its navigation without sending a request to an application backend.

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Text resize demo</title>
  <style>
    html { font-size: 100%; }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      padding: 1rem;
      font: 1rem/1.5 system-ui, sans-serif;
    }
    main { max-width: 36rem; margin-inline: auto; }
    .project-card { border: 1px solid; padding: 1rem; }
    .project-card h1 { font-size: 1.5rem; }
    .project-card p { overflow-wrap: anywhere; }
    .project-card__action {
      display: block;
      width: fit-content;
      max-width: 100%;
      min-height: 2.75em;
      padding: 0.625em 1em;
      border: 2px solid;
      font: inherit;
      white-space: normal;
      overflow-wrap: anywhere;
    }
    a:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
  </style>
</head>
<body>
  <main>
    <article class="project-card">
      <h1>Community archive project</h1>
      <p>Read the implementation notes and the full testing report.</p>
      <a class="project-card__action" href="#project-notes">
        Read the community archive implementation notes
      </a>
    </article>
    <section id="project-notes" aria-labelledby="notes-heading">
      <h2 id="notes-heading">Project notes</h2>
      <p>The archive supports keyboard navigation and readable project records.</p>
    </section>
  </main>
</body>
</html>

Try it with page zoom and text-only zoom. Check the final word of the action, its complete border, the gap before the notes, and the keyboard focus outline. Activate the link and confirm the destination remains available.

The link has a minimum height and content-driven growth. Padding in em follows its own text size. W3C's container sizing technique C28 explains the role of relative container dimensions when text is resized. In your component, remove the original conflicting height and clipping rules; pasting new rules below an unknown cascade may leave the constraint active.

If a parent grid still has a fixed row height, repair that too. For forms, inherit the intended font on inputs, selects, textareas, and buttons, then inspect the native controls in each supported browser. Avoid reducing enlarged text or hiding a line simply to recover the original layout.

Keep regression evidence without pretending to automate zoom

After a repair, retain the smallest fixture that reproduced it. A useful regression record includes the route, long label, component selector, browser, zoom mode, zoom level, failing state, and before-and-after screenshots. Include whether the complete task succeeded.

For the demo above, a focused automated check can double the root font size and verify the action remains usable. That exercises this fixture's rem-based text and content-driven container; it is a synthetic CSS stress test. It does not reproduce browser zoom or every text-only resizing implementation.

Likewise, Playwright viewport settings and device scale factor are separate emulation controls, described in its emulation guide. Setting deviceScaleFactor: 2 is not evidence of a successful 200% text-resize test. Keep a manual browser zoom pass in the release checklist even when your component suite has screenshots and geometry assertions.

Track the repaired state in your website regression testing suite. Run the text spacing accessibility test separately: changing letter and paragraph spacing exercises a different user preference.

Audit the public page after the resize repair

After the manual resize pass, run Slop Audit on the public page. When the browser stage is available, review its mobile overflow measurements, clipped or horizontally off-screen control evidence, sampled Tab-focus observations, axe findings, and viewport screenshots. These checks can reveal surrounding layout and accessibility problems worth fixing before launch.

Slop Audit does not currently enlarge text to 200%, change browser zoom, or validate this Resize Text requirement. Its normal mobile screenshot cannot replace the test conditions you recorded. Keep that manual evidence beside the report, review any unavailable browser coverage, and rescan the deployed page after repairing related findings.