Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Zoom disabled by viewport meta: how to find and fix it

PRF-332Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

The viewport meta tag sits in the <head> of your page. It tells mobile browsers how wide to draw the page. It can also limit zoom. Two settings do that: user-scalable=no and a maximum-scale value close to 1 (for example maximum-scale=1.0).

Designers sometimes add them to stop the page jumping when a visitor taps a form field, or to make a page feel like an app. The side effect is that people who need larger text cannot enlarge it. This fails WCAG 1.4.4 (Resize Text). Note that iOS Safari has ignored these limits since iOS 10, but Android Chrome and other browsers can still honour them unless the user turns on a force-zoom accessibility setting.

Examples of a viewport tag that blocks zoomhtml
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

Why it costs you leads or sales

Visitors with low vision, and anyone using a phone in bright light, often zoom in to read prices, form labels and the small print next to a button. If they cannot zoom, they may guess a field, mistype it, or leave. Forms, checkouts and booking pages are where this hurts most, because they have small text and many inputs.

There is also a legal and reputational side. Accessibility rules and complaints often cite WCAG, and blocked zoom is one of the easiest failures to spot with an automated scan.

Where a zoom block breaks the journey
  1. Ad clickVisitor lands on mobile page
  2. Pinch to zoomViewport tag blocks scaling
  3. Read form labelsText stays too small
  4. Submit leadVisitor gives up or errs

A visitor who cannot enlarge the text may never finish the form.

Mobile form completion with and without zoomExample numbers
Mobile form completion with and without zoom (example)Zoom blocked: 20 % of low-vision visitors completing the form; Zoom allowed: 45 % of low-vision visitors completing the form017342045Zoom blockedZoom allowed% of low-vision visitors completing the form

Example: illustrative numbers only, not measured data.

How to check if your site has it

Check the viewport tag in under a minute
  1. View the page source

    Open your page, right-click and choose View page source (or press Ctrl+U / Cmd+Option+U).

  2. Search for viewport

    Press Ctrl+F and search for name="viewport".

  3. Read the content value

    Look for user-scalable=no, user-scalable=0, or maximum-scale below 2 (for example 1 or 1.0).

  4. Check every template

    Repeat on your home page, landing pages, checkout and thank-you page. They can use different templates.

  5. Test on a phone

    On Android, try to pinch-zoom the page in Chrome. If it will not zoom, the tag is the likely cause.

How to fix it

The fix is the same everywhere: remove user-scalable=no and any maximum-scale limit. Where you do it depends on your platform.

Recommended viewport taghtml
<meta name="viewport" content="width=device-width, initial-scale=1">
Remove the zoom block by platform
  1. Find the tag

    Go to Appearance > Theme File Editor (or use a child theme) and open header.php. Search for viewport. Some themes set it through a theme option or a function in functions.php instead.

  2. Edit it

    Replace the content with width=device-width, initial-scale=1. Check any SEO or performance plugin that might also output a viewport tag.

Viewport tag before and after

Before

  • user-scalable=no or maximum-scale=1
  • Pinch zoom blocked on Android browsers
  • Fails WCAG 1.4.4

After

  • width=device-width, initial-scale=1
  • Visitors can enlarge text and images
  • Layout still fits the screen

How to confirm it's fixed

Confirmation checklist
  • View source or inspect the live DOM and confirm no user-scalable=no or maximum-scale below 2.
  • Clear your site, CDN and plugin caches before testing.
  • Pinch-zoom the page on a real Android phone in Chrome.
  • Zoom to 200% on desktop and check that forms and buttons are still usable.
  • Check the home page, landing pages, checkout and thank-you page.
  • Tap a form field on iPhone and confirm the page does not jump in an annoying way.

How to prevent it happening again

Prevention habits
  • Keep one viewport tag in a shared layout and do not add others.
  • Add a viewport check to your launch or QA checklist for every new template.
  • Review theme updates and page-builder embeds, since they can reintroduce the tag.
  • Run an accessibility scanner such as Lighthouse or axe DevTools after major design changes. Both report zoom-blocking viewport settings.
  • Fix the underlying layout or input size problem instead of disabling zoom.

How FunnelGuard handles this

FunnelGuard does not check this yet. Reading the viewport tag is a simple page check, so it is a possible future addition, but today it is not monitored.

What FunnelGuard does cover nearby: it runs your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons, from the EU or the US. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a step fails, you get one alert with a screenshot and a likely cause.

To watch for zoom blocking in the meantime, run Lighthouse's Accessibility audit (the check is named "[user-scalable="no"] is not used in the <meta name="viewport"> element") or axe DevTools on your key pages after each release. FunnelGuard also offers a free read-only website audit, though that is a separate tool and does not replace an accessibility scan.

Blocked zoom keeps the small text out of reach

The visitor tries to enlarge the form but the page will not scale.

Toggle the viewport zoom blockInteractive
Viewport blocks zoom

Zoom blocked

Leads or data lost

Visitors who need larger text cannot enlarge the form, so some give up or mistype.

On means the problem is present.

Questions people ask

Why is pinch zoom not working on my website on mobile?

The most common cause is a viewport meta tag containing user-scalable=no or maximum-scale=1. View your page source, search for viewport, and remove those values. Also check for scripts or plugins that rewrite the tag after load.

What should my viewport meta tag look like?

Use <meta name="viewport" content="width=device-width, initial-scale=1">. It sizes the page to the device and leaves zoom under the visitor's control.

Is disabling zoom an accessibility problem?

Yes. It fails WCAG 1.4.4 (Resize Text) because people with low vision cannot enlarge content. Most accessibility scanners flag it.

How do I stop iPhones zooming into form fields without disabling zoom?

Set the font size of inputs, selects and textareas to at least 16px. iOS Safari zooms in on fields with smaller text, so a larger size avoids the jump without blocking zoom.

Does maximum-scale=2 count as blocking zoom?

A maximum-scale of 2 or higher is generally accepted, but there is no reason to set one. Omitting maximum-scale entirely is the safest choice.

How do I find which plugin or theme adds user-scalable=no?

Inspect the live page in your browser's developer tools and find the viewport tag. Then search your theme files, plugin settings and custom code for user-scalable. Switching to a default theme briefly can show whether the theme is responsible.

Does FunnelGuard check whether zoom is disabled?

No, not yet. It is a possible future check. For now, use Lighthouse or axe DevTools on your key pages after each release.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.