Mobile optimization is the work of making a website comfortable to use on a phone: text you can read without zooming, buttons you can hit with a thumb, pages that load quickly on a mobile connection, and nothing blocking the content. It covers design, content and code, and it applies to every page, not only the home page.
Why it matters for search
Google reads your site as a phone does. With mobile-first indexing, Google crawls and indexes the mobile version of each page, so anything broken or missing on mobile is broken or missing for Google.
Rankings are more nuanced than "mobile-friendly sites rank higher". Google says its ranking systems use Core Web Vitals, its loading and responsiveness metrics. Other parts of page experience, including how well a page displays on a phone, don't directly raise rankings. They do make a site more satisfying to use, which Google says is what its systems try to reward. Google Search Central
The bigger reason is your visitors. A page that's hard to use on a phone loses the people who reach it there.
Start with the layout
Use responsive design: one URL and one HTML page whose layout adapts to the screen. Google recommends it as the easiest setup to build and maintain.
Then check the basics:
- Set the viewport. Add
<meta name="viewport" content="width=device-width">to every page. Without a viewport tag, some mobile browsers lay the page out in a wider virtual window, around 980 pixels, and shrink it. Text turns tiny, and your small-screen CSS never applies. - No sideways scrolling. Tables, wide images and fixed-width blocks should fit the screen or scroll inside their own box.
- Images that fit. Serve responsive images so a phone doesn't download a desktop-sized file.
- Put the main task first. If phone visitors mostly want your opening hours or a price, show it near the top rather than behind a menu.
Make it easy to tap and type
Fingers are less precise than a mouse. The WCAG 2.2 accessibility guidelines set a minimum target size of 24 by 24 CSS pixels for anything clickable, unless the target has enough space around it. W3C WCAG 2.2 Bigger is easier, especially for the main buttons.
Typing on a phone is slow, so ask for less:
- Make phone numbers tappable with a
tel:link, such as<a href="tel:+15551234567">. - Use the right input type, such as
type="email"ortype="tel", so the phone shows the matching keyboard. Theinputmodeattribute does the same for other fields. - Cut forms to the fields you really need.
Keep pages fast
Core Web Vitals measure loading, responsiveness and visual stability. A page passes when, at the 75th percentile of visits, it meets all three targets:
| Metric | What it measures | Good |
|---|---|---|
| Largest Contentful Paint (LCP) | How fast the main content shows | 2.5 seconds or less |
| Interaction to Next Paint (INP) | How fast the page reacts to taps | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | How much the layout jumps | 0.1 or less |
Mobile and desktop are measured separately, so check the mobile numbers on their own. The usual first fixes are image compression, less JavaScript, and lazy-loading images further down the page. Don't lazy-load the main content itself in a way that needs a tap or swipe, because Google won't trigger it.
Don't cover the content
Full-screen pop-ups hurt more on a phone, where they can hide the whole page. Google advises against interstitials that obscure the entire page and suggests small banners instead, for app installs and newsletter sign-ups too. Interstitials the law requires, such as an age check, are the exception.
How to test
Google retired its Mobile-Friendly Test and the Mobile Usability report in Search Console on December 1, 2023. Use these instead:
- Lighthouse in Chrome, which Google points to for mobile usability checks.
- PageSpeed Insights for Core Web Vitals from real Chrome users plus a lab test, on mobile and desktop.
- Chrome DevTools device mode to preview screen sizes. Google calls it a first-order approximation, so confirm on a real phone.
- Your own phone. Open your key pages, tap the main buttons, fill in a form, and read a full article on mobile data.
Do this again after every redesign or new template, since one wide element or new pop-up can undo the rest.