Optimize viewport for mobile
Stay organized with collections Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-08 UTC."],[],[]]