Issues

Mobile: Viewport Not Set

back to issues overview

Viewport Not Set

Pages without a viewport meta tag, or a viewport meta tag without a content attribute that includes the text width=.

Setting the viewport meta tag allows the width and scaling to be sized correctly on all devices.

Without this set, mobile devices will render pages at desktop screen widths and scale them down, making the text difficult to read.

How to Analyse in the SEO Spider

To populate this filter the PageSpeed Insights API must be connected via ‘Config > API Access > PSI’.

View URLs with this issue in the ‘Mobile’ tab and ‘Viewport Not Set’ filter, and export all URLs using the ‘Export’ button.

What Triggers This Issue

This issue is triggered by Lighthouse when pages do not have a viewport meta tag, or the viewport meta tag is missing the content attribute that includes the text width=.

Lighthouse does not check the width equals device-width, or for an initial-scale key value pair. However, you still need to include both for your page to render correctly on mobile devices.

How To Fix

Add a viewport meta tag with the appropriate key-value pairs to the <head> of the page so that it’s sized correctly on all devices.

Further Reading

Back to top