SEO guide

Mobile SEO guide: is your site complete, readable and fast on phones?

Google indexes pages based on how they look on a phone. A site that looks flawless on desktop can fall behind because of missing content, unreadable text or content-covering pop-ups on its mobile version. In this guide you'll learn what mobile-first indexing means today, the technical settings from the viewport tag to tap targets, and how to test mobile usability.

12 min readUpdated: November 9, 2026

In short

  • Google mainly uses the mobile version of a page for indexing and ranking. Content that isn't on the mobile version isn't in the index either.
  • Add <meta name="viewport" content="width=device-width, initial-scale=1"> to the <head> of every page and don't block zooming.
  • The setup Google recommends is responsive design: same URL, same HTML, CSS that adapts to the screen. A separate m. site means more maintenance and more risk of errors.
  • Make body text at least 16 pixels and the tap area of buttons and links at least 48 × 48 pixels; don't show windows that cover the content on the first screen.
  • Google retired the Mobile-Friendly Test at the end of 2023. Today you test with URL Inspection in Search Console, Lighthouse, PageSpeed Insights and real phones.

What does mobile-first indexing mean today?

Mobile-first indexing means that Google uses the version of a page served to smartphones when it indexes and ranks that page. There is no separate "mobile index": there is a single index, and desktop results are also built largely from content read on the mobile version.

The transition took years. According to Google, since July 5, 2024 sites are crawled and indexed with Googlebot Smartphone; content that can't be accessed on mobile devices is no longer indexed. Search Console's crawl stats report also shows which type of Googlebot made the requests. This has three practical consequences:

  • Text shortened in the mobile template, a removed link or missing structured data also goes into the index incomplete.
  • A page that carries noindex on mobile, is blocked by robots.txt or returns an error to the phone user agent won't appear in search, even if it works fine on desktop.
  • The mobile experience is part of page experience. Google's page experience documentation lists Core Web Vitals, content that displays well on mobile devices and the absence of intrusive interstitials among the signs of a good experience.

Search Console doesn't show a separate error for content missing from the mobile version; the content simply goes into the index incomplete. So compare the two versions regularly.

How do you write the viewport meta tag?

Without a viewport tag, phone browsers render the page at desktop width and shrink it to fit the screen. The text becomes unreadable, and visitors have to pinch-zoom and scroll sideways. The correct tag is a single line:

<meta name="viewport" content="width=device-width, initial-scale=1">
  • width=device-width sets the page width to the device's screen width; initial-scale=1 opens the page without zoom.
  • user-scalable=no and maximum-scale=1 block zooming. Users with low vision can't enlarge the text; WCAG requires that text can be resized up to 200%. Don't use these values.
  • A fixed width such as width=1024 stops the page from adapting to different screens.
  • If you want content to extend to the edges on screens with a notch, add viewport-fit=cover and set the padding in CSS with values such as env(safe-area-inset-left); most sites don't need this.

Röntgen's viewport and zoom findings

The viewport is the highest-weighted check in the page audit's Mobile category. If the tag is missing entirely, the critical finding "Viewport tag missing" appears. If the content lacks width=device-width, you'll see the warning "Viewport width not set to device width"; if it's there, "Viewport tag is set". If the tag contains user-scalable=no (or 0) or a maximum-scale below 2, the warning "Zooming is disabled" appears; otherwise it says "Zooming is allowed". If you only want to see the tag, the Meta tag checker runs the same check.

Responsive design, dynamic serving and separate m. sites

Google defines three configurations for mobile sites and recommends responsive design, the easiest to implement and maintain.

StructureHow does it work?What to watch for
Responsive designSame URL, same HTML; the layout adapts to the screen with CSS media queries.Content collapsed on mobile stays in the HTML; the real work is layout and speed.
Dynamic servingSame URL, different HTML depending on the user agent.The response must include Vary: User-Agent; check that Googlebot gets the phone version.
Separate URLs (m.)Phone users are redirected to a separate address such as m.ornek-site.com.Requires bidirectional annotations, page-to-page redirects and the same content on both sites.

In responsive design, starting the layout from the narrowest screen and adding min-width rules for wider screens lets you spot overflowing or missing elements on phones from the start:

.urunler { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 768px) {
  .urunler { grid-template-columns: repeat(3, 1fr); }
}

Röntgen looks for signs of responsive design with the "CSS media queries are used" finding: it first checks inline styles and stylesheet links with a media attribute, then, if it finds nothing, the first three stylesheets. If it can read every stylesheet but finds no @media rule in any of them, the warning "No CSS media queries found" appears. Media queries don't prove that a page looks good on phones, but having none usually points to an old fixed-width template.

If you use a separate mobile site (m.)

For Google to understand that the two URLs are the same page, you need bidirectional annotations. The desktop page points to its mobile counterpart with alternate, and the mobile page declares the desktop page as canonical:

<!-- https://www.ornek-site.com/urun/kupa -->
<link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.ornek-site.com/urun/kupa">

<!-- https://m.ornek-site.com/urun/kupa -->
<link rel="canonical" href="https://www.ornek-site.com/urun/kupa">
  • Redirect phone users from every page to that page's mobile counterpart. Sending them all to the m. home page cuts both visitors and Googlebot off from the page they were looking for; on pages with no mobile counterpart, leave users on the desktop page.
  • On the mobile site, too, the title, description, structured data and alt text must match the desktop site. On multilingual sites, the hreflang links of mobile pages must point to mobile URLs.
  • The m. domain's robots.txt must also allow Googlebot; verify both versions separately in Search Console.
  • Don't choose an m. setup for a new site. When shutting down an existing m. site, redirect each m. URL to its counterpart with a 301 and remove the alternate annotations (redirect guide).

To see what is sent to which user agent, choose "Googlebot (smartphone)" or "Safari (iPhone)" as the user agent in the Redirect checker, Meta tag checker or HTTP header checker and compare the result with a desktop Chrome user agent. On a page that uses dynamic serving, the HTTP header checker shows the note "Vary: User-Agent (dynamic serving)".

Font size, tap targets and horizontal scrolling

Three things decide readability on a phone: the size of the text, whether lines fit the screen and whether a finger can hit the right target.

  • Font size: use at least 16 pixels for body text and, as WCAG recommends, keep line spacing at least 1.5 times the font size. Text smaller than 12 pixels can't be read on a phone without zooming.
  • Form fields: Safari on iPhone zooms the page when you tap an input field with a font size below 16 pixels. Use at least 16 pixels in fields; don't try to solve this by disabling zoom.
  • Tap targets: make the tap area of buttons and links at least 48 × 48 pixels and leave at least 8 pixels between them. WCAG 2.2's AA minimum is 24 × 24 CSS pixels; 48 pixels is a safer target for comfortable finger use.
  • Horizontal scrolling: fixed-width tables, wide images and code blocks push the page beyond the screen. WCAG's reflow criterion requires content to be readable at a width of 320 CSS pixels without horizontal scrolling.
body { font-size: 1rem; line-height: 1.6; }
input, select, textarea { font-size: 1rem; }
img, video { max-width: 100%; height: auto; }
.menu a { display: block; min-height: 48px; padding: 12px 16px; }
.tablo-kapsayici { overflow-x: auto; }

What does Röntgen show?

The "Tap targets are small or too close together" and "Font size is too small on mobile" findings come from the Lighthouse measurement used by PageSpeed Insights and appear in the report only when Lighthouse returns these audits. Since both audits were removed in Lighthouse 13, they don't currently appear in the report; check these points manually with the tests below.

The accessibility finding from the same mobile measurement shows Lighthouse's accessibility score: at 90 or above it says "Accessibility audit passed"; below that, the warning "Accessibility issues found" lists the three issues that lower the score most. Problems such as colour contrast and unnamed buttons make phone use directly harder. The "Images display with distorted proportions" finding lists squashed or stretched images (Image SEO guide).

The same content on mobile and desktop

Google's mobile-first indexing documentation asks for both versions to offer the same content. The design can differ, but everything you want indexed must also be on the mobile version:

  • Text and headings: a product description shortened on mobile or a comment section removed there doesn't get indexed either.
  • Meta tags: the title, meta description and robots tag must be the same; a noindex left on mobile by mistake removes the page from search.
  • Structured data: product, breadcrumb and FAQ markup must be on the mobile page too; if you have a separate m. site, the URLs in the markup must point to the mobile URLs.
  • Images and videos: use the same images with the same alt text, without lowering their resolution; videos must also be findable and playable on mobile.
  • Links: links removed from the HTML of the mobile menu also disappear from the internal link structure Google sees. Collapsing the menu with CSS is fine; deleting the link from the HTML is the problem.
  • Content loaded later: products and reviews that only arrive after tapping a "Show more" button may not be seen; Googlebot doesn't click buttons. Put important content in the HTML or load it when it enters the viewport.

Content placed in an accordion, a tab or a "read more" area to save space is fine as long as it is in the HTML; Google has said that under mobile-first indexing such content is treated like normal content.

How do you compare the two versions?

  1. Run the live test in URL Inspection in Search Console. The result shows the HTML Google sees with its smartphone crawler, a screenshot and the resources that couldn't be loaded.
  2. Check the page with the Meta tag checker, first with "Googlebot (smartphone)", then with a desktop Chrome user agent; the title, description, canonical and robots values must be the same.
  3. Compare the headings, text length and internal links of the two versions; a big difference points to content trimmed in the mobile template.
  4. Confirm that robots.txt doesn't block CSS, JavaScript or image files. Röntgen's Technical category warns with "robots.txt blocks CSS or JavaScript files"; if Google can't access these files, it may see the page as broken or not mobile-friendly.

Pop-ups and interstitials

Because a phone screen is small, a window covering the content can completely stop visitors from seeing what they came for. In 2016 Google announced that pages where content isn't easily accessible to users coming from search may rank lower, and its page experience documentation still recommends avoiding intrusive interstitials. Examples Google considers problematic:

  • a pop-up that covers the main content right after arrival or while reading,
  • a full-screen interstitial that must be dismissed before reaching the content,
  • a layout where the first screen looks like an interstitial and pushes the actual content below the fold.

Cookie consent and age verification windows shown because of legal obligations, login dialogs for paid content and banners that take up a reasonable part of the screen and are easy to dismiss are not considered a problem.

If you use a newsletter or campaign pop-up, show it not on the first screen but after the visitor has been reading for a while; use a small bar at the bottom instead of a full-screen window, and make the close button at least 48 × 48 pixels. Show the cookie notice as a layer that opens over the page rather than a bar that pushes the content down; otherwise layout shift (CLS) increases too. Make app download prompts with a small bar as well, not a full-screen window.

Mobile speed and Core Web Vitals

Core Web Vitals are assessed separately for mobile and desktop. Because phones have slower processors and more variable connections, the same page usually scores worse on mobile. PageSpeed Insights' mobile lab test loads the page while emulating a mid-range phone and a throttled mobile connection.

Röntgen's page audit also uses PageSpeed Insights' mobile measurement and states the source on the Core Web Vitals card in the report. "Mobile · real-user data" is the page's own CrUX data. "Mobile · origin-wide, real-user data" is data for the whole domain, used when the page has no data of its own. "Mobile · lab data" is a one-off Lighthouse measurement used when there is no real-user data at all; in that case Total Blocking Time (TBT) is shown instead of INP. The page screenshot in the report also comes from the same mobile measurement.

The changes that make the biggest difference on phones:

  • Serve the main image at a phone-appropriate size (srcset and sizes), don't lazy-load it and give it fetchpriority="high"; details in the Image SEO guide.
  • Reduce JavaScript. A phone's processor runs scripts more slowly than a desktop and long tasks hurt INP; review third-party scripts such as chat, heatmaps and ads.
  • Keep the DOM small; create hidden mobile menus and dialogs only when they're needed.
  • Preload fonts and use font-display: swap.
  • Shorten time to first byte with page caching and a CDN; every round trip costs more on a mobile connection.

For thresholds, measurement types and fixes for each metric, see the Core Web Vitals guide.

See your page's mobile findings and mobile Core Web Vitals in a single report.

Page audit

How do you test mobile usability?

At the end of 2023 Google retired the standalone Mobile-Friendly Test tool, its API and the Mobile Usability report in Search Console, and pointed to Lighthouse in Chrome instead. This didn't make mobile usability any less important; only the way you test it changed. Today, use these methods together:

  • URL Inspection in Search Console: the live test shows how the page is rendered by Google's smartphone crawler, a screenshot and the resources that couldn't be loaded. For indexing questions, this is the most reliable source.
  • Lighthouse and PageSpeed Insights: measure mobile speed, accessibility and best practices. You can also run Lighthouse from Chrome's developer tools.
  • Chrome's device mode: shows the page at different screen widths; it's the fastest way to find horizontal overflow and broken layouts. But it doesn't emulate a real phone's processor or touch behaviour.
  • Real devices: open the page on at least one iPhone (Safari) and one Android phone (Chrome); use the menu, fill in the forms, try the checkout steps. This is the most reliable way to check tap targets and font size.
  • Röntgen page audit: shows the viewport, zoom, media queries, image proportions and accessibility score in the Mobile category, and mobile Core Web Vitals in the Performance category.

Mobile SEO checklist

  1. Every template has a viewport tag and zooming is enabled.
  2. The layout works at 320 pixels wide without horizontal scrolling.
  3. Body text and form fields are at least 16 pixels.
  4. Buttons and links are at least 48 × 48 pixels, with space between them.
  5. The mobile version carries the same text, headings, structured data, images and internal links as the desktop version.
  6. There's no noindex, robots.txt block or user-agent-specific error on mobile; CSS, JavaScript and images can be crawled.
  7. On a separate m. site, the bidirectional annotations and page-to-page redirects are correct; with dynamic serving, Vary: User-Agent is present.
  8. No window covers the content on the first screen; the cookie notice doesn't shift the content.
  9. Mobile LCP, INP and CLS are in the good range; if not, start with the issue that will bring the biggest gain.
  10. After every change, run a live test with URL Inspection and open the page on a real phone.

Frequently asked questions

What is mobile-first indexing?

It means Google mainly uses the smartphone version of a page when indexing and ranking it. There is no separate mobile index; content that exists only on the desktop version isn't indexed.

What replaces Google's Mobile-Friendly Test?

Google retired the tool at the end of 2023. Today you test with the live test in Search Console's URL Inspection, the mobile measurement of Lighthouse and PageSpeed Insights, Chrome's device mode and real phones; Röntgen's page audit also shows mobile findings in a separate category.

Does a separate mobile site (m.) hurt SEO?

Not if it's set up correctly, but the risk of errors is high: it needs bidirectional alternate and canonical annotations, page-to-page redirects and the same content on both sites. Google recommends responsive design; don't choose an m. setup for a new site.

Is it a problem to show content in accordions or tabs on mobile?

Not as long as the content is in the page's HTML; Google treats content collapsed to save space like normal content. The problem is content that is only fetched from the server after a button is tapped, because Googlebot doesn't click buttons.

Should I disable zooming in the viewport tag?

No. user-scalable=no and maximum-scale=1 stop users with low vision from enlarging text and go against accessibility principles. width=device-width, initial-scale=1 is enough; solve layout problems with CSS.

How big should tap targets be?

Make the tap area of buttons and links at least 48 × 48 pixels and leave at least 8 pixels between them. WCAG 2.2's minimum is 24 × 24 CSS pixels; 48 pixels is safer for comfortable finger use.

Related guides and tools