Lorixen.
EN

Customers can't zoom your mobile site? Fix the viewport tag

Short answer: If visitors can't pinch to zoom on your mobile site, check the viewport meta tag in your page's head. Settings like user-scalable=no or maximum-scale=1 tell browsers to block zooming, which locks out people with low vision and anyone trying to read small print or check a photo. MDN warns against disabling zoom, and WCAG expects text to be resizable to at least 200 percent. Use <meta name="viewport" content="width=device-width, initial-scale=1"> and fix whatever problem the zoom block was meant to hide.

How zoom gets blocked

Mobile browsers read a viewport meta tag to decide how wide the page is and how zoom behaves. MDN's reference lists the relevant settings:

  • user-scalable: whether the user can zoom; it can be yes or no and defaults to yes.
  • maximum-scale: the maximum amount to zoom in, a number from 0.0 to 10.0.
  • minimum-scale: the minimum zoom level.

A tag like this blocks zooming entirely:

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

MDN notes that browser settings can ignore these rules, and that iOS 10 and later ignore them by default. So on many iPhones visitors can still zoom, while on other browsers and devices they can't. That inconsistency is why the problem often goes unnoticed by the team that built the site.

Why it matters

MDN's warning is direct: disabling zooming with user-scalable=no can prevent people with low vision from reading and understanding page content. It adds that WCAG requires a minimum of 2× scaling, with 5× as best practice.

The W3C's Understanding document for WCAG success criterion 1.4.4, Resize Text, explains the requirement: except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality.

Beyond accessibility, customers zoom all the time to:

  • read small print in terms, prices and delivery notes
  • check details in product photos
  • tap small links accurately
  • read text over busy background images

Blocking that loses sales and creates support calls.

Why sites block zoom in the first place

Zoom blocking is usually a workaround for another problem. Common reasons, with better fixes:

Reason it was added Better fix
iOS zooms in when someone taps a form field Make form inputs at least 16px font size, so iOS doesn't auto-zoom
The layout "breaks" when zoomed Fix the layout so it reflows and nothing is fixed-width
A map, image viewer or game needs its own gestures Handle gestures inside that component only, using CSS touch-action on that element
"It feels more like an app" Let it feel like a website; users expect to zoom
Copied from an old template Remove it

The first one is by far the most common, and the fix is in your CSS, not the viewport tag.

Step 1: Find the tag

Open your home page, view the page source, and search for viewport. Then check:

  • your theme's header template
  • any page builder or app shell settings
  • separate templates for landing pages, checkout or account areas, which sometimes have their own head

Some apps add the tag dynamically with JavaScript, so also inspect the live page with developer tools.

Step 2: Replace it

Use the standard tag:

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

Remove maximum-scale, minimum-scale and user-scalable unless you have a very specific, tested reason.

Step 3: Fix the underlying issue

  • Input zoom on iPhone: set font-size: 16px or larger on inputs, selects and text areas.
  • Layouts that break: look for fixed widths, elements wider than the screen and text in images. Use flexible widths and let text wrap.
  • Interactive components: apply gesture handling to the component itself rather than the whole page.

Step 4: Test

  1. On an Android phone with Chrome and an iPhone with Safari, pinch to zoom on the home page, a product page, a form and the checkout.
  2. Increase the phone's text size setting and check text gets larger without overlapping.
  3. In a desktop browser, zoom to 200 percent and check nothing is cut off or hidden.
  4. Tap into each form field on iPhone and confirm the page doesn't jump in.

Check apps and embedded views too

If your business also has a mobile app that shows web pages inside it, such as help articles, terms or a booking form, check those views. Embedded web views sometimes disable zoom in the app's own code, separately from the page's viewport tag, so a page that zooms fine in a browser may be locked inside the app. Ask whoever builds the app to allow zoom in web views that show text content.

Write it into your site standards

Once fixed, keep it fixed. Add a line to your website or theme standards that says the viewport tag must not block zoom, and include a pinch-zoom check in the test list for every redesign, new landing page template and new checkout. Agencies and new templates are how this setting usually comes back.

An illustrative example

A hypothetical Sydney bike shop had a viewport tag with maximum-scale=1, user-scalable=no, added years earlier because the old theme's search box zoomed the page on iPhones. Older customers complained they couldn't read the bike specification tables on their Android phones. The developer replaced the tag with the standard version, set the search and form inputs to 16px, and fixed one wide table so it scrolls in its own container. Zooming now works everywhere, and the input zoom on iPhones is gone.

FAQ

If iOS ignores the setting, why bother?

Other browsers and devices still honour it, and your customers use many of them.

Does this affect SEO?

Not directly, but a page that's hard to use on mobile is a poor experience, and accessibility problems cost customers.

Can I allow zoom but limit it?

You can, but there's rarely a good reason. MDN's note points to 5× zoom as best practice.

What about web apps installed to the home screen?

The same applies. Let people zoom.

If your mobile site blocks zoom or breaks when people zoom in, send us the link and the phones you've tested.

Sources

WhatsAppBook a call