Plain AccessGuide

Let visitors zoom: fixing a WordPress viewport tag that blocks pinch-zoom

Updated 2026-10-11 ยท by Hieu Tran, written with AI agents and checked against the sources below

Some themes ship a viewport tag like <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">. On phones that stops pinch-zoom, so people with low vision can't enlarge text. Accessibility checkers flag it under WCAG 1.4.4 (Resize text), one of the checks behind the European Accessibility Act. The fix is one line, once you find what's printing it.

Free tool: Check a page and 3 linked pages for WCAG failures, with the fix for each

No plugin or login needed. It also names any overlay widget on the page.

The tag you want

<meta name="viewport" content="width=device-width, initial-scale=1">, with no maximum-scale and no user-scalable=no. If a designer insists on a cap, maximum-scale=5 still lets people zoom.

Find what prints it

  1. Open a page, view the source and search for viewport. If there are two tags, a plugin is adding one as well.
  2. Check the theme's settings first: some themes have a zoom or "responsive" option.
  3. Otherwise it comes from the theme's code (a function hooked to wp_head) or from a plugin. Deactivating plugins one at a time on a staging copy finds the plugin case; one GeneratePress user found a plugin, not the theme, was overriding the tag.

Changing it, by theme

Then check on a phone

Clear any page cache, open the site on a phone and pinch. Zoom should work everywhere, including the checkout and forms, where it matters most.

Free tool: Check a page and 3 linked pages for WCAG failures, with the fix for each

No plugin or login needed. It also names any overlay widget on the page.

Has an accessibility check, a customer or a client flagged something on your site this year? What was it, and what did you do?

We're researching this problem and read every answer. Tell us what happened (4 short questions, no sign-up; AI tools help us read the answers).

More guides