Mobile · Viewport

Viewport missing initial-scale

This page's viewport tag sets width=device-width but leaves out initial-scale=1, which can cause zoom problems when a phone is turned sideways.

How this page is built

The viewport tag on this page is width=device-width, with no initial-scale.

Why it matters

With only a width, some browsers keep the zoom level from portrait when the phone is turned to landscape. The page then looks zoomed in, or does not fill the wider screen. Setting initial-scale=1 as well tells the browser to start at a one to one scale whatever the orientation.

It is a small fault, but it is cheap to fix, and crawl tools that check viewport settings report it.

How to check it

View the source and read the viewport meta tag in the head. Lighthouse and the accessibility checker axe both test it, and crawl tools with mobile checks list pages whose viewport tag is missing or set wrongly. Then open the page on a phone, or in a browser’s device mode, to see the effect.

How to fix it

Use width=device-width, initial-scale=1.

Back to all tests