Optimize viewport for mobile

Published: Oct 8, 2025

Tap interactions may be delayed by up to 300 milliseconds if the viewport is not optimized for mobile.

How to pass this insight

At the initial render of the page, a <meta name="viewport"> element that is optimized for a mobile device must be present.

Here's an example of a passing meta viewport element:

The criteria for a viewport optimized for mobile are the following:

  • width attribute is set to something (device-width is most common)
  • initial-scale attribute is set, and its value is >= 1

Additional references

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. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月08日 UTC.