Zooming and scaling must not be disabled
The viewport meta tag must not stop people from zooming: avoid user-scalable=no and any maximum-scale below 2, so visitors can enlarge text to at least 200%.
| Rule ID | meta-viewport |
|---|---|
| Impact | Moderate |
| Success criterion | 1.4.4 Resize Text · AA |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549 |
| Fixed automatically |
Example
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">On many phones, pinching does nothing: visitors with low vision cannot enlarge the small print.
<meta name="viewport" content="width=device-width, initial-scale=1">Visitors pinch to zoom and read the page at whatever size they need.
Why it matters
People with low vision, and many older visitors, rely on pinch zoom to read text on a phone. When the viewport tag blocks zooming, they cannot read prices, form labels or error messages, and some leave the site. Others zoom to check a detail in a photo or to hit a small button accurately.
WCAG 1.4.4 requires that text can be resized to 200% without loss of content. Some mobile browsers now ignore user-scalable=no, but not all do, and in-app browsers and older devices still honor it. Disabling zoom brings no real benefit for most sites.
How to fix it
Remove the parts of the content attribute that limit zoom:
user-scalable=no(oruser-scalable=0)maximum-scalevalues below 2, such asmaximum-scale=1
This is all most sites need:
<meta name="viewport" content="width=device-width, initial-scale=1">
Why it was added. Teams often block zoom for one of these reasons, each with a better fix:
- iOS zooms into form fields on focus. This happens when the field's font size is below 16px. Use 16px or more for inputs:
<style>
input, select, textarea { font-size: 16px; }
</style>
- Double-tap delay on buttons. Modern browsers removed it for pages with
width=device-width. For specific controls, usetouch-action: manipulation. - Layout breaks when zoomed. Fix the layout with relative units and flexible widths instead of locking zoom.
Web apps and games. If a canvas game handles pinch gestures itself, keep zoom enabled for the rest of the interface, or offer your own text size control.
Check plugins and themes too: some insert their own viewport tag.
Checklist
- Remove user-scalable=no from the viewport tag.
- Remove maximum-scale below 2, or remove it entirely.
- Use 16px text in form fields instead of blocking zoom.
- Make sure only one viewport tag is on the page.
How the check works
The check reads every <meta name="viewport"> tag. It fails when user-scalable is no (or a number between 0 and 1), or when maximum-scale is below 2. It passes otherwise. It does not test whether the page still works when zoomed to 200%: try that manually on a phone and a desktop browser.
Resources
- Understanding 1.4.4 Resize Text W3C
- W3C ACT rule b4f0c3 W3C ACT
- Designing for web accessibility: tips W3C WAI
Updated October 27, 2026