Zooming and scaling must not be disabled

How to fix the meta-viewport accessibility rule. Zoom and touch targets.

What this rule checks

Ensure <meta name="viewport"> does not disable text scaling and zooming

Who is affected

The page blocks pinch-zoom (user-scalable=no or maximum-scale=1), so people with low vision can't enlarge the text on mobile.

How to fix it

Remove user-scalable=no and maximum-scale from the viewport tag.

Example

Before

<meta name="viewport" content="width=device-width, maximum-scale=1, user-scalable=no">

After

<meta name="viewport" content="width=device-width, initial-scale=1">

WCAG success criteria

When this rule fails, the page fails:

Find it on your own page

Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.

More detail