AccessLens

How to fix: “Zooming and scaling must not be disabled”

Pinch-to-zoom blocked, explained in plain English, with the exact fix and code you can copy.

Scanner rule:
meta-viewport
Standard:
WCAG 1.4.4 Resize Text (Level AA)

What this error means

On a phone, a small tag in the page head called the viewport meta tag tells the browser how to size the page. Some templates add user-scalable=no or a low maximum-scale to the tag, which stops visitors from pinch-zooming in. People who cannot read small text then have no way to enlarge it.

Who it affects

People with low vision, older users, and anyone trying to read small print or product details on a phone screen.

Where it usually hides

  • Older mobile templates and app-style landing pages
  • Themes copied from an 'app look' where zoom was disabled to prevent accidental scaling
  • Page builders with a 'prevent zoom' option

How to fix it

  1. Find the <meta name="viewport"> tag in the page head. It is usually in a header template that applies to the whole site.
  2. Delete user-scalable=no from the content value.
  3. Delete any maximum-scale setting below 2, or remove maximum-scale entirely.
  4. Keep width=device-width, initial-scale=1, which is the standard recommended value.

Before and after

Before

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

Zoom is blocked.

After

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

Zoom works normally.

On your website platform

WordPress and Shopify

The tag lives in your theme's header file (header.php in WordPress, theme.liquid in Shopify). Edit it there, preferably in a child theme or a duplicate of your theme so updates do not undo the change.

Common mistakes

  • Blocking zoom to fix a layout bug. Fix the layout instead.
  • Fixing the tag on one template while another template still has the old one.

How to check your fix

  • Re-run a scan to confirm the error is gone.
  • Open the page on a phone and pinch to zoom. The page should enlarge.

Is this on your site?

Run a free scan and see every page and element affected. No account needed.

Questions people ask

Why do some sites disable zoom?

Usually to stop the page jumping around when a form field is tapped, or to make a page feel like an app. Both can be solved without blocking zoom.

Does this error only matter on phones?

It mostly affects mobile browsers, which is where pinch-to-zoom is the main way to enlarge text.

Keep reading

Automated scans catch only part of what WCAG covers, and fixing a scan result is not a legal guarantee of compliance. Last reviewed November 16, 2026.