How to Fix Lighthouse Warning That Zooming Is Disabled
If Lighthouse's Accessibility audit reports "[user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than 5.", removing user-scalable=no and maximum-scale from the content of the meta viewport fixes it. This warning means the page is blocking pinch-to-zoom, the gesture where you spread two fingers on a phone to enlarge the screen.
<!-- Flagged -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Fixed -->
<meta name="viewport" content="width=device-width, initial-scale=1">
In a test environment, I prepared 11 pages with different content values and checked both Lighthouse's result and how far I could actually zoom with a pinch gesture.
The test environment was Ubuntu 24.04, Node.js 22.23.5, and Lighthouse 13.6.0 (the CLI installed with npm; it uses axe-core 4.14.0 internally). Lighthouse ran on headless Google Chrome for Testing 158. I used Lighthouse's default mobile settings and ran only the accessibility category. For pinch gestures, I reproduced a phone screen (412px wide) with the headless Chromium 158 bundled with Playwright 1.63.0, and sent two-finger touch input through the Chrome DevTools Protocol. I did not test on real phones, the Lighthouse panel in DevTools, or PageSpeed Insights.
The report lowers the Accessibility score
The test page was a small page with only headings, paragraphs, an input field, and a button. I set the meta viewport to width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, served the page with python3 -m http.server, and ran the following:
npx lighthouse http://127.0.0.1:8000/both.html \
--only-categories=accessibility --locale=ja \
--output=json --output=html --output-path=./out/both-ja \
--chrome-flags="--headless=new --no-sandbox" --quiet
The environment variable CHROME_PATH pointed to the Chrome for Testing binary I used. I added --no-sandbox to launch Chrome in this test environment.
The Japanese report displayed as follows. The "problematic elements" section shows the flagged meta tag as is.

The results taken from the JSON report were:
accessibility score: 88 | meta-viewport: score=0 weight=10
title: `[user-scalable="no"]` が `<meta name="viewport">` 要素で使用されているか、`[maximum-scale]` 属性が 5 未満に指定されています。
node: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
Fix any of the following:
user-scalable=no on <meta> tag disables zooming on mobile devices
The Accessibility score dropped from 100 on the fixed page to 88. The Accessibility score is the weighted share of audits that pass. The weight of meta-viewport is 10 in the Lighthouse 13.6.0 configuration. On the test page, the total weight of the audits that produced a score was 81, and this audit was the only one that failed. 71 ÷ 81 = 0.877, which rounds to 88. The effect on the score depends on the elements on the page.
The report's explanation says that if zooming is disabled, people with low vision who enlarge the screen to read become unable to check the content of the page.
Which values fail
I changed the content value and compared Lighthouse's result with the zoom level I could reach with a pinch gesture. Every page starts with width=device-width, initial-scale=1.
| Added after the start | Lighthouse | Zoom reached by pinch |
|---|---|---|
| (nothing added) | Pass (100) | 5x |
maximum-scale=10 |
Pass (100) | 10x |
maximum-scale=2 |
Pass (100) | 2x |
maximum-scale=1.5 |
Fail (88) | 1.5x |
maximum-scale=1 |
Fail (88) | 1x |
user-scalable=no |
Fail (88) | 1x |
user-scalable=0 |
Fail (88) | 1x |
maximum-scale=1, user-scalable=yes |
Fail (88) | 1x |
user-scalable=0 failed in the same way as no. Adding user-scalable=yes to maximum-scale=1 did not allow zooming, and Lighthouse still failed it. user-scalable=yes cannot override the restriction, so you need to remove maximum-scale or raise its value.
On the page with nothing added, zooming stopped at 5x. In the Chromium I used, the default maximum without a maximum-scale is 5x, and with maximum-scale=10 I could zoom to 10x.

The title says "less than 5," but the failure threshold is 2
The audit title says "[maximum-scale] attribute is less than 5," but in my tests maximum-scale=2 passed and maximum-scale=1.5 failed. The threshold is 2, not 5.
Lighthouse delegates this check to the axe-core rule meta-viewport. In axe-core 4.14.0, the meta-viewport configuration sets scaleMinimum: 2, and the evaluation code fails the check when maximum-scale is smaller than this value. For user-scalable, it fails when the value is no, or when it is a number greater than -1 and less than 1 (such as 0).
axe-core also has a rule that uses 5 as the baseline: meta-viewport-large. This is a best-practice rule, not a WCAG rule. However, the rules that Lighthouse 13.6.0 asks axe-core to run are the WCAG A and AA rules plus a few rules enabled individually, and meta-viewport-large is in neither group. In my test, meta-viewport-large did not appear in the report.
To pass Lighthouse, 2x is enough. In MDN's description of the viewport, 2x is the minimum zoom level WCAG requires, and 5x is treated as the preferred value (MDN viewport reference). Still, unless you have a specific reason to set a limit, the simplest option is not to write maximum-scale at all.
To fix this, remove both user-scalable and maximum-scale, and keep only width=device-width, initial-scale=1. If you must set a limit, use 2 or higher (preferably 5 or higher).
The HTML is fixed, but the warning still appears
Fixing the meta tag in the HTML source does not clear the warning if JavaScript rewrites it later. I tested a page whose source has width=device-width, initial-scale=1, but a script at the end of <body> rewrites content to include maximum-scale=1, user-scalable=no. Lighthouse failed it.
accessibility score: 88 | meta-viewport: score=0 weight=10
node: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
The "problematic elements" section shows the value after the rewrite, not the text in the source. If the source and the value differ, look for the script or library that changes content. On this page, pinch-zoom also stayed at 1x.
Blocking zoom with CSS touch-action is not detected by Lighthouse
Pinch-zoom can also be blocked in CSS, not only in the meta tag. I tested a page that kept width=device-width, initial-scale=1 in the meta viewport and added html { touch-action: pan-x pan-y; }. As the MDN touch-action reference explains, pan-x and pan-y allow one-finger horizontal and vertical scrolling. Unless you also include pinch-zoom, which allows pinch zooming, the zoom gesture is not allowed.
Lighthouse passed this page (100). In pinch tests, however, it stayed at 1x (the pink bar in the chart above). Lighthouse's meta-viewport audit only looks at the content of the meta tag, so it cannot detect a restriction in CSS. Moving the same restriction into CSS to clear the meta tag warning does not make zooming work any better.
On iOS Safari, these settings are ignored
According to the MDN viewport reference, browsers can ignore maximum-scale and user-scalable depending on user settings, and since iOS 10 they are ignored by default. Some browsers, such as the Chromium I used, do stop zooming as specified, but on iPhone zooming may still work. Lighthouse decides based on the content value of the meta tag, so the warning appears regardless of whether zooming works on an iPhone. Remove user-scalable=no and maximum-scale.





