Skip to content
Learn Measure Blog Case studies About
On this page
  • How the Lighthouse browser zoom audit fails
  • How to avoid disabling browser zoom
  • Resources

[user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than 5

May 2, 2019 — Updated Mar 20, 2020
Available in: Español, 日本語, 한국어, Português, Русский, 中文, English
Appears in: Accessibility audits
On this page
  • How the Lighthouse browser zoom audit fails
  • How to avoid disabling browser zoom
  • Resources

The user-scalable="no" parameter for the <meta name="viewport"> element disables browser zoom on a web page. The maximum-scale parameter limits the amount the user can zoom. Both are problematic for users with low vision who rely on browser zoom to see the contents of a web page.

How the Lighthouse browser zoom audit fails #

Lighthouse flags pages that disable browser zooming:

Lighthouse audit showing the viewport disables text scaling and zooming

A page fails the audit if it contains a <meta name="viewport"> tag with either of the following:

  • A content attribute with a user-scalable="no" parameter
  • A content attribute with a maximum-scale parameter set to less than 5
The Lighthouse Accessibility score is a weighted average of all the accessibility audits. See the Lighthouse accessibility scoring post for more information.

How to avoid disabling browser zoom #

Remove the user-scalable="no" parameter from the viewport meta tag and make sure the maximum-scale parameter is set to 5 or greater.

Resources #

  • Source code for [user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than 5 audit
  • Zooming and scaling must not be disabled (Deque University)
Last updated: Mar 20, 2020 — Improve article
Return to all articles
Share
subscribe

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Web Fundamentals
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.