01 Skip to the content
WorkPrices

Fix it · Websites

How do I make my website easy to use on a phone?

Three faults cause most of the trouble. A page that scrolls sideways usually lacks the viewport setting or has something wider than the screen. Tiny text comes from font sizes set too small, or from zooming switched off. Cramped buttons are tap targets too small or too close together. Each has a published standard to test against, and most can be fixed without a new site. Google also indexes sites by what phones see.

By GravenReach Media · Updated

Kellbrook website: The same sample site, on a laptop
Kellbrook websiteThe same sample site, on a laptop

Which of the three faults your page has

Open your site on a phone, holding it upright

  1. 1Can you drag the page sideways, or is it shrunk to a tiny copy of the desktop page?

    YesFix the layout: add the viewport setting and find what is wider than the screenMDN and WCAG 1,2

  2. 2Do you have to pinch to read the text, and does pinching not work?

    YesFix the text: raise the font sizes and allow zoomLighthouse and MDN 1,3

  3. 3Do you hit the wrong link or button when you tap?

    YesFix the targets: make buttons bigger and space them apartWCAG 4

The layout passes: now check speed, which is a separate problem

From MDN's documentation of the viewport setting, the Web Content Accessibility Guidelines on reflow and target size, and Chrome's Lighthouse audit for legible text 1,2,3,4.
On this page

Sideways scrolling, or a shrunken desktop page

A phone's browser, left to itself, lays a page out as if on a wide screen and shrinks it to fit. The viewport setting in the page's code tells it to use the phone's own width instead; MDN's reference shows the common form, width=device-width 1. A site without it looks like a tiny copy of the desktop page.

Sideways scrolling usually means something on the page is wider than the screen: a fixed-width table, a wide image, an embedded map or video with a set width, or a block of text that will not wrap. The accessibility guidelines' reflow criterion asks that content can be shown at a width equivalent to 320 CSS pixels, about a small phone, without scrolling in two directions 2. A layout that collapses to a single column at that width is a common way to pass 2.

Text that needs pinching, or cannot be pinched

Chrome's Lighthouse audit, part of the browser's developer tools and of PageSpeed Insights, says font sizes smaller than 12 pixels are often hard to read on phones, and flags a page when 40 per cent or more of its text is smaller than that 3. Small text is common in footers, captions, menus and buttons that were designed on a large monitor.

Worse than small text is small text that cannot be enlarged. Setting user-scalable to no in the viewport, or a low maximum zoom, stops people with low vision from reading the content, as MDN warns 1. The accessibility guidelines also ask that text can be enlarged to twice its size without losing content or function 6.

How common these faults are on the web

  1. Tap targets not all well sized (2021)Web Almanac 60.7%
  2. Zoom switched off on phones (2021)Web Almanac 29.4%
From the HTTP Archive's Web Almanac 2021 mobile chapter: 39.3% of sites tested used sufficiently sized tap targets by the Almanac's test of at least 48 by 48 pixels with 8 pixels of spacing, stricter than the minimum above (so 60.7% did not), and 29.4% of mobile page loads used a viewport that prevented zooming 7. These are older figures across the web, not small businesses alone.

Buttons and links too small or too close

A finger is far less precise than a mouse. The current version of the accessibility guidelines sets a minimum: targets at least 24 by 24 CSS pixels, or smaller ones with enough space around them that a 24-pixel circle on each does not overlap another 4. The guidelines' authors chose that minimum after looking at the target sizes on busy sites, and describe a larger size as the better practice 4.

On small-business sites the usual offenders are footer links set close together, social icons in a tight row, a menu of text links, and a call button placed next to a WhatsApp button with no gap between them.

Checking your own site in ten minutes

Three checks on a real phone

  1. The layout

    Open each main page on your phone. Try to drag it sideways. Note anything that sticks out past the edge.

  2. The text

    Read the smallest text on the page at arm's length, then try pinching to zoom. If either fails, the text needs fixing.

  3. The targets

    Tap every button and link in the menu and footer with your thumb. Count the mis-taps.

  4. A second opinion

    Run Lighthouse in Chrome's developer tools or PageSpeed Insights on the mobile setting and read the legibility and accessibility results.

Fixing it without a new site

  • Make sure the page has a viewport setting with width=device-width, and remove any setting that blocks zoom.
  • Find what is wider than the screen and let it shrink, wrap or scroll inside its own box.
  • Raise small text, especially in menus, footers and buttons, to at least the body size.
  • Make buttons larger and add space between links in rows.
  • Re-test on a real phone, then with Lighthouse.
  • If the theme itself is the cause, ask whether a phone-ready theme is cheaper than patching.

Our view: most builders and modern themes handle the viewport and single-column layout already; the faults creep in through content added later, such as a pasted table, a wide image or a custom block. Older hand-built sites and old themes are where all three faults tend to appear together, and there a rebuild can cost less than repairs. A slow page on a phone is a separate problem with its own causes, covered in my website is slow on phones.

Questions people ask

Does Google rank sites lower if they break on phones?

Google indexes and ranks from the mobile version of a site 5, so what a phone shows is what Google judges.

Should I turn off zoom so the layout stays neat?

No. Blocking zoom stops people with low vision from reading your page 1; in 2021 about three in ten mobile page loads did it 7.

What size should the text be?

Chrome's audit treats text under 12 pixels as hard to read on phones 3. Body text is usually set well above that.

My site works on phones but is slow. Same problem?

No, speed is separate: see slow on phones.

Sources

Every figure on this page, with where it came from.

  1. 1

    MDN Web Docs, The viewport meta tag (meta name=viewport).
    Supports: viewport settings including width=device-width; disabling zoom with user-scalable=no prevents people with low vision from reading content

  2. 2

    W3C Web Accessibility Initiative, Understanding Success Criterion 1.4.10: Reflow.
    Supports: content without scrolling in two dimensions at a width equivalent to 320 CSS pixels; single-column layout as a common way to meet it

  3. 3

    Chrome for Developers, Lighthouse: Document doesn't use legible font sizes.
    Supports: font sizes under 12 px often hard to read on mobile; page flagged when 40% or more of text is under 12 px

  4. 4

    W3C Web Accessibility Initiative, Understanding Success Criterion 2.5.8: Target Size (Minimum), WCAG 2.2.
    Supports: targets at least 24 by 24 CSS pixels or with spacing; minimum chosen after reviewing target sizes on high-traffic sites; larger size as enhanced criterion

  5. 5

    Google Search Central, Mobile-first indexing best practices.
    Supports: Google uses the mobile version of a site's content for indexing and ranking

  6. 6

    W3C Web Accessibility Initiative, Understanding Success Criterion 1.4.4: Resize Text.
    Supports: text can be resized up to 200 percent without loss of content or functionality

  7. 7

    HTTP Archive, Web Almanac, Mobile Web chapter (2021).
    Supports: 39.3% of sites used sufficiently sized tap targets; 29.4% of mobile page loads had a viewport preventing zoom

If all three faults show up together, the theme is usually the cause. See websites for a rebuild that works on a phone first.