Accessibility guides

How to fix "Zooming and scaling must not be disabled"

Many people with low vision pinch to zoom on every page they read. A viewport tag that blocks zooming takes that away. It fails WCAG 1.4.4, and it is one of the few failures that makes an entire site harder to use with a single line.

The failing line

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

The fix

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

Remove user-scalable=no (or user-scalable=0) and any maximum-scale below 2.

Why it was there, and the better answer

Check your own site

Our free scanner loads your pages in a real browser and lists every failure like this one that automated testing can detect. Scan a site.