viewport.content.zoom
- Default
- error
- Plugin
viewport
The viewport does not stop users from zooming.
Why: user-scalable=no, or a maximum-scale below 2, stops people from zooming in to read. This fails accessibility checks, such as Lighthouse.
When off: viewports that block zoom pass.
<!-- ✗ Fails -->
<meta
name="viewport"
content="width=device-width, initial-scale=1, user-scalable=no"
/>
<!-- ✓ Passes -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
References
- WCAG 2.2: Understanding Resize Text: Users must be able to zoom text to 200% (Level AA).
- axe: meta-viewport: The same check in axe-core, with the same limit of 2.