FAQ

How to Test a Mobile Website: A Step-by-Step Workflow

22 min read
how-to-test-a-mobile-website

Mobile website testing checks that your site works for people on phones and tablets: that the pages render, the journeys complete, and the site stays fast, usable and compatible across the devices, browsers and network conditions your visitors actually have. This page is the workflow, in the order you run it: decide what “working” means, pick your browser and device coverage, test the critical journeys, confirm on real devices, check performance and accessibility, then record the evidence and retest.

Each step links to the guide that covers it in depth. For the bigger picture of where mobile web fits, start with our what is mobile app testing guide. For the hands-on real-device work (Safari Web Inspector, Chrome remote debugging, a device cloud), go to our real mobile browser testing guide. After the six steps, a worked example takes one real defect from its pass criterion to a verified fix.

Step 1: Decide what working means for your site

A test without a pass condition cannot fail, so it cannot find anything. Write the condition first.

List the five to eight journeys that make your site worth visiting: sign in, search, a product or article page, a form, checkout or booking, account settings. For each one, write a single sentence that says what a pass looks like on a phone. Everything later in the workflow tests against these sentences.

JourneyPass when (example)
Sign inA returning user signs in with the on-screen keyboard and a password manager, and lands on the page they started from
SearchResults load and are tappable without zooming; the keyboard closes on submit
Form or lead captureErrors show next to the field and stay visible with the keyboard open; submit works once
Checkout or bookingThe order completes on a mid-range phone on a throttled connection, with no double charge on retry
NavigationEvery top-level and second-level page is reachable by touch and by keyboard

Swap the rows for your own site. Keep the shape: one journey, one sentence, something a tester can mark pass or fail without arguing about it.

Step 2: Pick browser and device coverage from your analytics

Coverage is the decision teams get wrong in both directions: one iPhone, or a 40-device matrix nobody runs. Here is a method with a stopping rule.

  1. Export the last 90 days of mobile and tablet sessions by browser, browser version and OS version, plus CSS viewport width if your analytics collects it.
  2. Sort the browser and OS combinations by traffic and take them in order until you cover about 90% of mobile sessions. That is your core list. The 90% is a working threshold, not a standard; move it if your risk calls for it.
  3. Start from a baseline whatever your numbers say: Safari (WebKit) on iPhone and Chrome (Blink) on Android. Then add the other supported browsers your analytics and your risk call for, such as Samsung Internet, Firefox on Android or in-app browsers. Check which engine each actual build uses rather than assuming. Firefox on Android runs Gecko, not Blink, and Apple now permits alternative browser engines in the EU, though that permission alone does not mean a given iOS browser ships one.
  4. Add the edges: the oldest iOS and Android versions you support, one small screen (about 360 CSS pixels wide), a tablet on each engine if your traffic spans both, and a mid-range Android phone for speed.
  5. Cover your layouts. If you collected viewport widths, group them into the breakpoints your CSS actually uses. If not, test each of your site’s own CSS breakpoints directly. Do not convert screen resolution into viewport width: pixel density and browser toolbars make that mapping unreliable. Check each breakpoint at least once, in portrait and landscape.
  6. No analytics yet because the site is new? Start from your support policy and public market share, write the assumptions down, and replace them with your own numbers after launch.

Then sort the list into tiers, so the effort goes where the traffic is:

TierWhat goes in itWhen you run it
CoreBrowser and OS combinations covering about 90% of your mobile traffic, always including the Safari/WebKit and Android Chrome/Blink baselineEvery release, every critical journey
EdgeOldest supported OS, small screen, tablet, mid-range AndroidEvery release, critical journeys only
Spot checkEverything else in your long tailWhen the change touches layout, input or a browser-specific feature

Here is what a small matrix looks like for a site whose analytics show mostly iPhone and Android phone traffic with some tablets. Your rows will differ; the shape is the point.

TierDevice (example)OSBrowser (engine)Why it is in
CoreA current iPhoneLatest iOSSafari (WebKit)Baseline; largest iOS share in this example
CoreA mid-range Samsung Galaxy phoneCurrent AndroidChrome (Blink)Baseline; largest Android share
CoreThe same Galaxy phoneCurrent AndroidSamsung Internet (Blink)Next-largest browser in this example’s analytics
EdgeAn older iPhoneOldest supported iOSSafari (WebKit)Oldest version you support
EdgeA small Android phone (about 360 CSS pixels wide)Oldest supported AndroidChrome (Blink)Smallest layout and slowest hardware
EdgeAn iPadCurrent iPadOSSafari (WebKit)Tablet breakpoint; the engine where tap-to-hover masks the worked example below
EdgeAn Android tabletCurrent AndroidChrome (Blink)Tablet breakpoint; Blink at tablet width, where the worked example below shows the hover menu break
Spot checkAny Android phoneCurrent AndroidFirefox (Gecko)A supported browser on a different engine; run when a change touches browser-specific features

How to turn the list into compatibility coverage is in our mobile compatibility testing guide, which also has current US mobile web OS share if you have no analytics yet.

Step 3: Test the critical journeys on mobile browsers

Run each journey from Step 1 in each core browser. Start in a desktop browser’s device mode to iterate on layout quickly, then run the journeys for real on the devices from Step 2. Watch for the things that only happen on a phone:

  • Input: the right keyboard appears for email, phone and number fields; autofill and password managers fill the form; the keyboard does not hide the field or the submit button.
  • Touch: every control works with a tap, nothing depends on hover, and swipe areas do not trap scrolling.
  • Navigation: the browser back button returns to the right place with form state intact, and links that open a phone app (tel:, mailto:, maps) do what they say.
  • Interruptions: rotating the device, switching apps mid-form and coming back, and a cookie or consent banner over the content all leave the journey completable.
  • Network: the journey still completes on a throttled connection, with loading states instead of dead taps.

These are journey-level observations, the things to watch while you complete a task. The line-item validation for a real-device session (viewport, safe areas, input zoom and the rest) lives in the checklist of the real mobile browser testing guide linked in Step 4. The method for functional checks in general is in our functional testing guide. If a journey works but people still struggle with it, that is a usability question, and our mobile usability testing guide covers how to find out why.

Step 4: Confirm on real devices

Device mode in a desktop browser is fine for layout. It is not evidence that the site works on a phone: it runs the desktop engine on desktop hardware, without the real touch input, on-screen keyboard, browser toolbars or mobile CPU and network. Before you sign off a journey, run it on real devices in the real mobile browsers from your core list.

How to do that, from Safari Web Inspector on an iPhone and Chrome remote debugging on Android to running sessions on a device cloud and the full validation checklist, is in our real mobile browser testing guide.

Step 5: Check performance and accessibility on mobile

Performance

Performance needs two kinds of evidence, and only one of them exists before launch.

Before release, run a lab test: Lighthouse, from Chrome DevTools or PageSpeed Insights, on each critical page with a mid-range mobile device profile and a throttled network, using the same settings every run. A lab run reports Largest Contentful Paint and Cumulative Layout Shift. It cannot measure Interaction to Next Paint, because nobody interacts with the page during a page-load run, so Total Blocking Time stands in as the lab proxy for responsiveness.

Your release rule is a lab budget. For each critical page, set a target for Largest Contentful Paint, Cumulative Layout Shift and Total Blocking Time, record a baseline, and do not ship a change that takes a critical page over budget. Google’s “good” thresholds in its Core Web Vitals guidance are a sensible place to start the first two.

After launch, judge the real result with field data: Core Web Vitals (Largest Contentful Paint, Interaction to Next Paint, Cumulative Layout Shift) at the 75th percentile of real visits. PageSpeed Insights shows them from the Chrome UX Report when the page or site has enough traffic. Field results cannot be fully confirmed before launch, and lab and field numbers often differ; Google explains why in lab and field data differences. When a page misses its budget, our mobile website speed guide covers what to optimize first.

Accessibility

Check that every control can be reached and used with a screen reader (VoiceOver on iOS, TalkBack on Android), that text resizes without breaking the layout, and that tap targets meet WCAG 2.2’s minimum target size. An automated audit finds some issues; the rest need a person on a real device. Our mobile accessibility testing checklist has the full list.

Step 6: Record evidence, fix and retest

  • Log each failure against the journey and pass criterion it broke, with the device, OS, browser and version, the URL, the steps and a recording. What to capture in a real-device session is listed in the real mobile browser testing guide linked in Step 4.
  • Retest a fix on the device and browser that failed, then on the other supported browsers and engines in your core list. A fix that works on one phone may only work around one browser’s quirk.
  • Turn each fixed defect into a repeatable regression check: an automated test where the behavior can be scripted, and a documented manual check (device, browser, steps, expected result) where it needs human judgment, such as layout or legibility. Not every fix needs a scripted real-device test. Our post on using Selenium to test websites on real mobile devices shows one way to automate it.
  • Ship when every critical journey passes in every core browser, every critical page is within its lab performance budget, and no open defect breaks a pass criterion. After release, watch field Core Web Vitals and real-user errors and feed what you find into the next round.

For exit criteria and who signs off, see the “How to Know When Testing Is Done” section of our mobile app testing process guide.

Worked example: a menu that works with a mouse and fails on touch

Here is the workflow on one defect, from the pass criterion to the verified fix. You can build the same page in under 60 lines and check it on your own devices.

The setup. A site header has a “Products” item whose submenu opens on hover, using CSS :hover. “Products” is itself a link to /products. At phone widths a typical header collapses into a separate menu button, so the hover submenu never shows there. At tablet widths the full desktop header appears with the hover submenu, and whether it works there depends on the browser engine. This is the Navigation row from Step 1: every second-level page reachable by touch and by keyboard.

The code before the fix:


<li class="has-sub">
  <a href="/products">Products</a>
  <ul class="sub">
    <li><a href="/products/phones">Phones</a></li>
    <li><a href="/products/tablets">Tablets</a></li>
  </ul>
</li>

<style>
  .sub {
    display: none;
  }

  .has-sub:hover .sub {
    display: block;
  }
</style>

The failure. We loaded the before page on two real tablets and recorded what a tap actually does, because the result depends on the browser engine, not on the screen size. In Chrome (Blink) on a Pixel Tablet, the first tap on Products followed the link to /products. The submenu never opened, so its links could not be reached by touch. In Safari (WebKit) on an iPad Air, the same first tap opened the submenu without navigating, and a second tap followed the link. Same code, opposite outcomes. Safari’s result is not real hover support: both tablets reported no hover. It is WebKit’s tap-to-hover behavior: WebKit withholds the first tap’s activation when an emulated hover reveals new content (here, the submenu links), so the first tap opens the menu instead of following the link. That is a browser quirk, not something you can design around. With a mouse, hovering shows the submenu and the whole thing looks fine, which is why a menu like this ships unnoticed.

Configuration (device and input, tested)(hover: hover) matchesFirst tap on ProductsSecond-level links reachable?Dismissal
iPad Air (4th generation), Safari 18.6 (WebKit), iPadOS 18.6, portrait, touchNoOpened the submenu without navigating; a second tap on Products went to /productsBy touch, yes: a tap on Tablets reached /products/tablets. By keyboard, not tested: no keyboard was attachedA tap outside closed it
Android tablet (Pixel Tablet), Chrome 148 (Blink), Android 16, landscape, touchNoWent straight to /products; the submenu never openedBy touch, no. By keyboard, not tested: no keyboard was attachedN/A: the submenu never opened

The evidence. On the before page, for each device: the input type, the result of matchMedia('(hover: hover)').matches, where the first tap on Products went (it opened the submenu, or it navigated to /products), whether the second-level links could be reached, and whether an open submenu could be dismissed. Add a screenshot or screen recording of the tap on the real device, the device model, OS and browser version, the URL and the steps. The matchMedia value is input context, not the explanation: both tablets reported no hover, so the split comes down to the engine. Blink followed the link on the first tap; WebKit detected the newly visible submenu links and withheld that first activation, so the menu opened instead. On the after page, record the button’s aria-expanded value before and after each tap, click or key press, the result of each acceptance criterion, and the exact configuration tested.

The acceptance criteria. The fix is built as disclosure navigation: a button that shows and hides a list of links, not ARIA menu roles. On every touch device and browser in the core list, and by keyboard on desktop:

  1. From a closed submenu, a tap or click on the Products button opens it without navigating.
  2. The submenu’s visibility and the button’s aria-expanded value always match.
  3. Enter and Space on the focused button toggle the submenu.
  4. Tab and Shift+Tab move through the button and the visible submenu links in order.
  5. While the submenu is closed, its links are not in the tab order.
  6. Focus is visible on every control, with a focus style the site sets rather than the browser default.
  7. Escape, while focus is in the menu or on the button, closes the submenu and returns focus to the Products button.
  8. A second tap, or a tap or click outside, closes it; nothing reopens it on its own.
  9. Tap and click both work on every device, with no dependence on hover or pointer type.

The fix. “Products” becomes a button with aria-expanded and aria-controls that toggles the submenu on tap, click, Enter or Space. The /products overview link moves inside the submenu, so nothing is lost. The closed submenu uses the hidden attribute, so its links leave the tab order. Escape, while focus is in the menu or on the button, closes it and returns focus to the button; tabbing out of the menu closes it; and a tap or click outside closes it. There is no hover-to-open: the menu opens the same way for every input, so it works by tap in both Blink and WebKit, never depends on whether the device can hover, and does not lean on the Safari quirk. The W3C disclosure navigation example is the reference pattern.

The code after the fix:


<li class="has-sub">
  <button
    type="button"
    aria-expanded="false"
    aria-controls="products-menu">
    Products
  </button>

  <ul id="products-menu" hidden>
    <li><a href="/products">All products</a></li>
    <li><a href="/products/phones">Phones</a></li>
    <li><a href="/products/tablets">Tablets</a></li>
  </ul>
</li>

<style>
  .has-sub :focus {
    outline: 3px solid #2FD780;
    outline-offset: 2px;
  }
</style>

<script>
  const btn = document.querySelector(
    '[aria-controls="products-menu"]'
  );
  const menu = document.getElementById('products-menu');
  const item = btn.parentElement;

  function setOpen(open) {
    btn.setAttribute('aria-expanded', String(open));
    menu.hidden = !open;
  }

  btn.addEventListener('click', () => {
    setOpen(menu.hidden);
  });

  item.addEventListener('keydown', (e) => {
    if (e.key === 'Escape' && !menu.hidden) {
      setOpen(false);
      btn.focus();
    }
  });

  item.addEventListener('focusout', (e) => {
    if (e.relatedTarget &&
        !item.contains(e.relatedTarget)) {
      setOpen(false);
    }
  });

  document.addEventListener('click', (e) => {
    if (!item.contains(e.target)) {
      setOpen(false);
    }
  });
</script>

Verified. We re-ran the acceptance criteria by touch on the same iPad Air and Pixel Tablet. On both real devices, criteria 1, 2 and 8 passed by touch, and the touch portion of 9 passed: the first tap opened the submenu without navigating, aria-expanded matched what was shown at every step, a second tap or a tap outside closed it, and a tap on Tablets reached its link. Criteria 3 to 7 (keyboard and focus) were not run, because no keyboard was attached to these cloud devices; they are the requirements the fix is built to meet.

Configuration (tested)Criteria passed (of 9)
iPad Air (4th generation), Safari 18.6 (WebKit), iPadOS 18.6, portrait, touch1, 2 and 8 passed by touch; the touch portion of 9 passed. 3 to 7 (keyboard and focus) not run, no keyboard attached
Android tablet (Pixel Tablet), Chrome 148 (Blink), Android 16, landscape, touch1, 2 and 8 passed by touch; the touch portion of 9 passed. 3 to 7 (keyboard and focus) not run, no keyboard attached

The journey “reach every second-level page by touch and keyboard” then becomes a repeatable regression check: automated where the steps can be scripted, and a documented manual check for the touch steps.

Which tool for which job

People who search for a way to test a website on mobile usually want one of three different things, and no single tool does all three.

JobWhat it tells youGood forNot enough for
Responsive preview (a desktop browser’s device mode, viewport previewers)How the layout looks at a given widthFast layout iteration while you buildTouch, keyboard, real browser engines, real performance
Speed and quality audit (PageSpeed Insights, Lighthouse)PageSpeed Insights: field Core Web Vitals from real Chrome users when the URL or site has enough traffic, plus a Lighthouse lab run. Lighthouse: lab performance diagnostics and automated accessibility, best-practice and SEO checksA quick health check, a lab baseline before and after a change, and the post-launch field readLayout, legibility and touch as a person experiences them, and whether a journey actually completes on a phone
Interactive session on a real device (your own phones, or a real-device cloud)Whether the site works in the real mobile browser on real hardware, with evidenceSigning off critical journeys across your core browsersNothing on this list replaces it for sign-off

If you searched for a free tool to check whether your site is mobile friendly: Google retired its standalone Mobile-Friendly Test in December 2023. Today, PageSpeed Insights runs a Lighthouse audit and shows real-user Core Web Vitals when enough data is available. Lighthouse flags performance, accessibility and SEO issues it can detect automatically, and Chrome’s device mode previews layout at any width. None of them checks layout, legibility and touch the way a person does on a phone, and none tells you whether a visitor can finish checkout. Those stay manual checks on real devices, as in Steps 3 and 4.

When you need that answer across phones you do not own, a real-device cloud gives you remote sessions on physical iPhones and Android devices in their real browsers. Kobiton’s real-device testing runs those sessions on its mobile device cloud, with the recording and logs kept with the session.

Before you ship: a short mobile website testing checklist

  • Every critical journey has a written pass criterion.
  • Your core browser list covers about 90% of mobile traffic and includes the baseline (Safari/WebKit on iPhone, Chrome/Blink on Android) plus the other supported browsers your analytics calls for.
  • The edges are covered: oldest supported OS, a small screen, a tablet, a mid-range Android phone.
  • Every critical journey passes on real devices in every core browser.
  • Every critical page is within its lab performance budget (Largest Contentful Paint, Cumulative Layout Shift, and Total Blocking Time as the responsiveness proxy) on the same mid-range mobile profile and throttling settings, and a date is set to review field Core Web Vitals after launch.
  • Screen reader, text resize and tap-target checks pass on real devices.
  • Every open defect is logged with device, browser, steps and a recording; none breaks a pass criterion.
  • Each fixed defect has a repeatable regression check: automated where suitable, a documented manual check where it needs judgment.

The detailed, line-by-line validation checklist for a real-device session is in our real mobile browser testing guide.

Mobile website testing FAQ

How do you test a mobile website?

Write a pass criterion for each critical journey, pick browsers and devices from your analytics, and run the journeys in those mobile browsers. Confirm them on real devices, check performance against a lab budget on the same mid-range mobile profile and throttling settings, and accessibility on real devices, then log failures with evidence and retest the fixes. The six steps above walk through each one.

Can I test a mobile website without a phone?

You can test the layout without one: a desktop browser’s device mode previews any screen width. You cannot sign off the site without one, because device mode does not run the real mobile browser on real hardware. Use your own phones or a real-device cloud for the final pass.

Is there a free tool to test if my website is mobile friendly?

Google retired its Mobile-Friendly Test in December 2023. For a free check today, PageSpeed Insights runs a Lighthouse audit and shows real-user Core Web Vitals when enough data is available, and Lighthouse flags the performance and accessibility issues it can detect automatically. Neither tells you whether a visitor can read, tap and finish a journey on their phone; that still takes a person on a real device.

What is the difference between mobile website testing and mobile app testing?

A mobile website runs inside a browser, so the browser, its engine and the screen size are the main variables. A native or hybrid app is packaged and installed on the device, so the OS, the hardware and the install and upgrade path matter more. Many teams test both; our what is mobile app testing guide covers how they fit together.

How do I know my mobile site is ready to launch?

When every critical journey meets its pass criterion on real devices in every core browser, every critical page is within its lab performance budget on the same mid-range mobile profile and throttling settings, and no open defect breaks a pass criterion. Field Core Web Vitals can only be confirmed from real visitors after launch, so schedule that review. The short checklist above is the whole test in eight lines.