Making your site work on a phone
Last updated
The short answer
First make sure phone visitors actually land on your site, not on a link page or an old mobile site somewhere else. Then check the basics: the viewport tag in each page's head, text big enough to read without zooming, buttons big enough to tap, a menu that opens and form fields that don't make the phone zoom in.
What working on a phone means
A site that works on a phone fits the screen without sideways scrolling, can be read without pinching to zoom, and can be used with a thumb. Responsive design is the usual way: one site whose layout adapts to the width of the screen, rather than a separate mobile site.
Why it matters to a small business
Many people find a local business on their phone, often with the intention of calling it there and then. Google also looks at the phone version of your site: with mobile-first indexing it crawls as a smartphone and uses what a phone gets to decide what your pages are about. If a phone sees less than a computer, or sees another site, that is what Google works from.
How the free scan decides
- Phone visitors stay on your site fails when phone visitors opening the homepage are sent to a different website.
- Responsive viewport meta fails when there is no viewport tag, and Mobile viewport set up when the viewport sets a fixed width, blocks zooming, or a block on the page is wider than a phone.
- Legible mobile font size fails when body text is under 12 pixels on a phone and warns under 16.
- Tap target size / spacing fails when buttons and links are too small or too close together to tap.
- Mobile menu works fails when tapping the menu button doesn't open a menu, and Form fields don't trigger zoom when form fields are under 16 pixels, which makes iPhones zoom in as soon as someone taps one.
- Headline visible on a phone fails when the main headline sits below the first screen on a phone, and The main button sits within thumb reach on a phone flags a main button that sits only in the top third of the first phone screen, where a thumb reaches least easily.
First: keep phone visitors on your site
When phones are sent elsewhere, phone visitors never see your site, Google's phone speed test measures the other site instead of yours, and Google's smartphone crawler is most likely sent there too. Find what does it and remove it:
- A script in the page. Look in the page's code, and in any code pasted into the site's header settings, for a script that checks the device or screen width and then changes
window.location. Delete it. - A mobile-redirect setting. Some builders, plugins and hosting panels have a "mobile redirect" or "mobile site" option. Switch it off.
- A server or CDN rule. On IIS, look in
web.configfor a rewrite rule that matches on the user agent; on Apache, in.htaccess; on Cloudflare, in the redirect rules. - If the page phones were sent to has links you want people to find, such as social profiles or a booking link, add them to your own homepage instead.
- Afterwards, open the homepage on a phone over mobile data (not your office Wi-Fi) and check it stays on your address. If your site is in Google Search Console, its URL Inspection tool shows the page as Google's smartphone crawler fetched it.
The other fixes, by platform
The viewport tag
Each page's head should have exactly this line, and no zoom limits added to it:
<meta name="viewport" content="width=device-width, initial-scale=1">
Remove maximum-scale=1 or user-scalable=no if they are there: they stop people zooming in to read.
If the layout stays wide even when you narrow your browser window on a computer, the templates were probably built at a fixed width and this tag alone won't fix them: see should I redesign my website or just fix it?
Text, buttons and forms
- Set body text to at least 16 pixels on phones.
- Make buttons and links at least 24 by 24 CSS pixels, the WCAG minimum, or space smaller ones as that standard's spacing exception describes. Links inside a sentence are exempt. Aim for 44 by 44 where you can.
- Set form fields to a font size of at least 16 pixels.
- Open the mobile menu on a real phone, and check each link in it.
By platform
- Shopify, Squarespace and most WordPress themes are responsive and add the viewport tag. Problems usually come from what was added: a wide table or embed, a font size set by hand, or a plugin's pop-up. Check the theme's typography settings for the phone text size.
- Wix has a separate mobile view in its editor; elements can be resized, moved or hidden there without changing the computer layout.
- Page builders on WordPress have responsive settings per element (often a phone icon beside the size field). A font or padding set only for computers is inherited by phones.
- A hand-built site or ASP.NET: the viewport tag belongs in the shared layout (
_Layout.cshtmlon MVC) so each page gets it. Sizes are set in your stylesheet, usually in a@media (max-width: …)block for small screens.
How to check yours
Use the site on your own phone: open the homepage from a search result, read a page without zooming, tap the menu and each main button, and fill in the inquiry form. The free scan's Mobile section reports the same things from Google's phone test and its own phone visit, with the elements it found too small; the sample report shows the layout. The speed guide covers how fast it loads on a phone.
Google's Mobile-Friendly Test is gone: what to use instead
Google retired its Mobile-Friendly Test, along with the Mobile Usability report in Search Console, on December 1, 2023 (Google Search Central). When it announced that, Google said mobile usability still matters for success in Search, and pointed to other tools, including Lighthouse from Chrome (Google Search Central). Three free ways to check a page today:
- PageSpeed Insights reports on a page for both mobile and desktop, and runs Lighthouse on it in a simulated environment (Google for Developers).
- Chrome's device mode shows a page at a phone's size on your computer: open DevTools and click Toggle device toolbar. Google calls it "a first-order approximation" of a phone, so finish on a real one (Chrome for Developers).
- The free scan checks the things listed under "How the free scan decides" above, on your homepage and the other pages it reads.
Checklist
- Phone visitors land on your own homepage, not another site.
- Each page has the viewport tag, with no zoom limits.
- Nothing on the page is wider than the screen.
- Body text and form fields are at least 16 pixels on phones.
- Buttons and links are big enough, and far enough apart, to tap.
- The mobile menu opens, and each link in it works.
Questions people ask
- Is Google's Mobile-Friendly Test still available?
- No. Google retired the Mobile-Friendly Test, and the Mobile Usability report in Search Console, on December 1, 2023. Google pointed site owners to other tools such as Lighthouse, which PageSpeed Insights runs for you and reports for mobile and desktop.
- Does Google still care whether my website works on a phone?
- Yes. When it retired the test, Google said this doesn't mean mobile usability isn't important for success with Google Search. Google also crawls and indexes sites mainly as a phone sees them.
- How do I check if my website works on a phone?
- Use it on your own phone: read a page without zooming, open the menu, tap the main buttons and send the inquiry form. Then run PageSpeed Insights for the mobile result, and the free scan, which checks the viewport, text size, tap targets, the menu, form fields and where the headline and main button sit on a phone screen.
What the free scan checks for this
These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.
- Phone visitors stay on your site
- Responsive viewport meta
- Tap target size / spacing
- Legible mobile font size
- Mobile viewport set up
- Mobile menu works
- Form fields don't trigger zoom
- Headline visible on a phone
- The main button sits within thumb reach on a phone
Sources
Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.
- Google Search Central: Mobile-first indexing best practices
- web.dev: Responsive web design basics
- WCAG 2.2: Understanding Target Size (Minimum)
- Chrome for Developers: Legible font sizes
- Google Search Central Blog: A new mobile-friendly testing tool (update of December 1, 2023)
- Google Search Central Blog: More on page experience (April 2023)
- Google for Developers: About PageSpeed Insights
- Chrome for Developers: Simulate mobile devices with device mode
More on speed and phones
- Why your site is slow, and what to fix first
- What is a good PageSpeed score? What the number means for a small business site
- Core Web Vitals explained: LCP, INP and CLS in plain English
- Largest Contentful Paint (LCP): why your page feels slow and how to fix it
- Interaction to Next Paint (INP): why your site feels slow to tap, and how to fix it
- Cumulative Layout Shift (CLS): why your page jumps while it loads, and how to stop it
- Website caching and CDNs: what they are and do you need one?