Page optimization · 3 checks

Mobile layout check

Check your viewport tag, whether the page overflows a phone screen, and whether desktop and mobile show the same text.

Check your page

Included in the free scan of 85 SEO and GEO checks.

What this checks

Google indexes the mobile version of a page. If the mobile view hides content, overflows the screen or uses tiny text, both visitors and search engines see a weaker page.

We open the page in a desktop browser (1365 px) and a phone-sized browser (390 px) and compare them.

The 3 checks on this page

Each check has its own result in your report. “Learn more” in the report opens the matching card here.

PAGE-008

Viewport declaration

Reads the viewport meta tag and checks for width=device-width.

  • Pass width=device-width is set
  • Suggestion No viewport, or a fixed width
QLT-009

Document overflow in rendered viewports

Measures how far the whole page extends past the screen on desktop and mobile. Sliders that scroll on purpose are not counted.

  • Pass No page-level overflow
  • Suggestion The page scrolls sideways
READ-009

Mobile and desktop content parity

Compares the text shown on desktop and mobile and lists small text under 12 px on mobile. Not scored.

  • Pass Same text, readable size
  • Suggestion Overflow over 16 px or small text

Examples

Passes: A responsive viewport
<meta name="viewport" content="width=device-width, initial-scale=1">
Flagged: A fixed desktop width
<meta name="viewport" content="width=1120">

How to fix it

Any site

Use max-width: 100% on images and embeds, avoid fixed widths in pixels on containers, and let long words and URLs wrap.

Finding the culprit

In the browser console, list elements wider than the screen.

[...document.querySelectorAll("*")].filter(e => e.getBoundingClientRect().right > innerWidth)

Check your fix

  1. Open the page at 390 px wide in your browser’s device mode and scroll sideways.
  2. Run this check again.

Questions

Is a carousel that scrolls sideways a problem?

No. We only measure the whole page scrolling sideways.

Sources

Related