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

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:

  1. 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.
  2. A mobile-redirect setting. Some builders, plugins and hosting panels have a "mobile redirect" or "mobile site" option. Switch it off.
  3. A server or CDN rule. On IIS, look in web.config for a rewrite rule that matches on the user agent; on Apache, in .htaccess; on Cloudflare, in the redirect rules.
  4. 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.
  5. 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.

Text, buttons and forms

By platform

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 enquiry 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.

Checklist

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.

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.

  1. Google Search Central: Mobile-first indexing best practices
  2. web.dev: Responsive web design basics
  3. WCAG 2.2: Understanding Target Size (Minimum)
  4. Chrome for Developers: Legible font sizes