PRACTITIONERCHAPTER 12

Mobile and accessibility testing

Your customers' phones are the test environment: choose devices from your own analytics, test the network they really have, plan for the old versions that stay in the field, and audit accessibility with a person as well as a scanner

45 MINQA AND QUALITY ENGINEERINGUPDATED 2026-11-21
PREDICT

Owoleaf's support lead, Kaosarat, reports that customers on cheap phones lose a half-filled transfer form when they leave the app to read the OTP text message and come back. The full regression suite passes on every engineer's phone. What do you check first?

A web page runs in a browser you can pick. A mobile app runs on whatever phone the customer bought, under an OS the vendor stopped updating two years ago, with a battery manager the manufacturer added, on a network that changes from one street to the next. Nobody can test every combination. You can choose a small, defensible set, test the conditions that cause most damage, and say plainly what the set does not cover. This chapter covers devices, real devices against emulators and clouds, network conditions, app-store realities, and accessibility against WCAG 2.2. The artefact is a device matrix and an accessibility audit of one flow.

Choosing devices from your own analytics

Start from the install base you have, not from a report about the market. The tools are your product analytics, your crash reporter and your support tickets, which between them tell you the device model, operating system version, RAM, screen size and app version of the people who use the app and of the people who fail in it. Real-user monitoring is the general technique; frontend and real-user monitoring explains how those numbers are gathered.

Here are Owoleaf’s own analytics for the last 30 days. They are illustrative figures invented for this chapter, not Nigerian market statistics; your own table will differ.

Dimension Split of active devices
Platform 12,600 active devices: Android 11,340 (90%), iOS 1,260 (10%)
Android RAM 2 GB or less 35%, 3 GB 26%, 4 GB 23%, 6 GB or more 16%
Android version 8 to 9: 22%, 10 to 11: 31%, 12 to 13: 29%, 14 and later: 18%
Models The 12 most common Android models are 41% of Android devices; the other 59% is a long tail

Three rules turn that table into a matrix.

Weight by harm, not by share. The most popular model is the one that is already tested by accident, because someone on the team owns one. The devices that hurt are the tails: the least RAM, the oldest supported OS, the smallest screen. Kaosarat’s tickets show the same thing. Of 310 crash and lost-form tickets last quarter, 168 (54%) came from phones with 2 GB of RAM or less, which are 35% of Android devices. A matrix that follows share would give those phones one slot in three. A matrix that follows harm gives them more.

Cover bands, not models. Pick at least one device in each RAM band, each OS band and each screen class, and make sure the extremes exist: the oldest OS you still support, the newest OS released, the smallest screen, the largest. Then add variety in what the vendor changed: a phone with a heavily modified Android and an aggressive battery manager behaves differently from a near-stock one, and that difference is where background work and notifications go missing.

Give iOS enough, not more. At 10% of devices, iOS does not earn half the lab, but it needs two: the oldest iOS you support on the smallest screen, and the newest iOS on a current phone. Rendering, VoiceOver and the permission prompts differ enough that one phone cannot stand for both.

Keep the matrix alive. Each quarter, re-run the analytics, drop a band that has shrunk, add one that has grown, and record why. A matrix nobody revisits becomes the list of phones that were popular when somebody last looked.

Real devices, emulators and device clouds

Each of three places to run a test is good at something different.

Emulator or simulator Device cloud Devices in your lab
Cost Free Pay per minute or per seat Buy once, replace on age
Breadth Any OS version and screen size you configure Hundreds of models Only what you own
Speed to start Seconds, scriptable in CI Minutes, queue at busy times Immediate
Memory pressure, thermal limits, vendor battery managers Weak or absent Real, but you cannot touch the phone Real
Real radio, signal loss, SIM behaviour Simulated Usually the provider’s network Real, with your own SIMs
Fingerprint, camera, NFC Simulated Often available Real
Screen reader by hand Awkward Slow over a remote stream Best

Use all three, in order of cost. Emulators run the pull-request checks, the font-size and locale variations, and the scripted network profiles. A device cloud runs a smoke suite across forty or fifty models from the long tail every release, which is the cheapest way to cover the 59% you cannot buy. The lab devices are for what only a real, held phone can tell you: low-memory behaviour, the vendor’s battery manager, a real SIM on a bad network, the fingerprint sensor, and every manual accessibility session.

The usual mistake, as in the Predict, is believing an emulator set to 2 GB of RAM behaves like a 2 GB phone. It lacks the cheap storage, the slow CPU, the vendor’s process killer and the thermal throttling. When an emulator and a real phone disagree, the phone is right.

Network conditions

Office Wi-Fi is the one network your customers rarely use. Test the networks they do use, and test what happens when the network goes away in the middle of an action.

The Android emulator can throttle both speed and latency, from the console or at start-up with the -netspeed and -netdelay options. Its documentation lists the profiles: gsm at 14.4 kbit/s up and down, gprs at 40 up and 80 down, edge at 118.4 up and 236.8 down, and umts at 128 up and 1,920 down, with latency ranges from 150 to 550 ms for gprs, 80 to 400 ms for edge and 35 to 200 ms for umts. Use those named profiles so a failure report says which one reproduced it. On iOS and in a device cloud, use whatever throttling the tool offers and record its settings in the report.

Throttling is a model, not a network: it slows the pipe but does not drop packets in bursts or change cell mid-request. Add field runs with a real SIM in a basement, a lift, a moving bus. Quality of service and mobile data explain what happens on the radio side.

Test four conditions, in this order:

  1. Slow. The edge and umts profiles on screens that load data. Look for spinners with no timeout and buttons that stay enabled so the customer taps twice.
  2. Lossy and flapping. Toggle the connection during a request. This is where timeouts and retries meet money, and the questions are in timeouts, retries, backoff and jitter and idempotency. Does the app retry with the same idempotency key, or does it send a second transfer?
  3. Offline. Open the app with no connection, then lose connection halfway through a transfer, then regain it. Which screens say so, which fail silently, and what does the customer see about the money? A wallet must never show a result it does not know.
  4. Interrupted. A call comes in, the app goes to the background, the screen locks, the customer switches to read a text. This is the Predict’s lost form.

Owoleaf also has a USSD channel through an aggregator, with SMS confirmations. Its failure modes are in USSD and mobile money on the network; list it as a channel, not a device.

App-store release realities

A web deploy can be reverted in minutes. A mobile release cannot, and three facts follow.

Review is not under your control. Both stores review submissions, and review time varies. Plan with slack, and keep server-side switches for anything you may need to turn off without a new build; flags are covered in release management and sign-off.

Staged rollout limits exposure, and nothing more. Apple’s App Store Connect documentation describes phased release as seven days at 1%, 2%, 5%, 10%, 20%, 50% and 100% of users with automatic updates, which you can pause for up to 30 days in total. The same page says anyone can still download the update manually at any time. Google Play has a comparable staged rollout where you choose the percentage; read the current Play Console help for its exact controls. In both stores, halting a rollout stops new people getting the build. It does not take it off the phones that already have it.

Old versions stay in the field. Customers on cheap phones with full storage postpone updates for months. Your backend serves every version you have not retired, so every API change meets old clients. Test with a small set of previous app versions pointed at the current backend, and use contract tests per released app version: API, contract and integration testing names a mobile client on release cycles you cannot force as the first place a consumer contract pays. Decide a minimum supported version, enforce it with a server response the app handles gracefully, and give customers a message that says what to do.

Accessibility: what the standard asks

The standard to test against is WCAG 2.2, the Web Content Accessibility Guidelines. Its own text says the criteria are written as technology-neutral, testable statements and address content on any kind of device, including mobile. Two cautions follow. First, the wording is about web content and uses units such as CSS pixels and the web page, so mapping a criterion onto a native Android or iOS screen needs a decision that you record. Second, the platforms publish their own guidance, which is sometimes stricter. Where it is, test to the stricter number and note the WCAG floor.

These criteria matter most on a phone. Reflow (1.4.10) and Text Spacing (1.4.12) matter for web views. Wording is condensed from the WCAG 2.2 text; levels are as published.

Criterion Level What it asks, in short
1.1.1 Non-text Content A Non-text content has a text alternative that serves the equivalent purpose; a control has a name that describes its purpose
1.3.4 Orientation AA Content does not restrict view and operation to one display orientation unless that orientation is essential
1.4.1 Use of Color A Colour is not the only visual means of conveying information, indicating an action or distinguishing an element
1.4.3 Contrast (Minimum) AA Text has a contrast ratio of at least 4.5:1; large-scale text, 3:1
1.4.4 Resize Text AA Text can be resized without assistive technology up to 200 percent without loss of content or functionality
1.4.11 Non-text Contrast AA User interface components and the graphics needed to understand content have at least 3:1 against adjacent colours
2.5.1 Pointer Gestures A Multipoint or path-based gestures also work with a single pointer without a path-based gesture
2.5.4 Motion Actuation A Anything operated by moving the device can also be operated by a control, and the motion response can be turned off
2.5.7 Dragging Movements AA Anything done by dragging can be done with a single pointer without dragging (new in 2.2)
2.5.8 Target Size (Minimum) AA Pointer targets at least 24 by 24 CSS pixels, with exceptions (new in 2.2)
3.3.7 Redundant Entry A Information already entered in the same process is auto-populated or selectable (new in 2.2)
3.3.8 Accessible Authentication (Minimum) AA No cognitive function test in authentication unless there is an alternative, a mechanism to help, object recognition or personal content (new in 2.2)
4.1.2 Name, Role, Value A Name and role can be programmatically determined; user-settable states and values can be set programmatically
4.1.3 Status Messages AA Status messages can be programmatically determined so assistive technology presents them without focus moving

Large-scale text, in the WCAG definition, is at least 18 point, or 14 point bold. Note that WCAG 2.2 removed 4.1.1 Parsing as obsolete, so a checklist that still lists it is out of date. The enhanced target size criterion, 2.5.5, asks for 44 by 44 CSS pixels but is level AAA, so it is a goal rather than part of an AA claim.

On units, the Android guidance recommends a touch target of at least 48 by 48 dp and text contrast of 4.5:1 for text below 18sp, or below 14sp when bold. Those are different units from WCAG’s CSS pixels and a stricter size, so test to 48 dp on Android, treat 24 by 24 CSS pixels as the floor if you claim WCAG conformance, and write down how you mapped them.

Screen readers, touch targets, contrast and dynamic type

Each of these is a short, repeatable session on a real device. Run them on the oldest and the newest phone of each platform.

Screen readers. TalkBack on Android and VoiceOver on iOS are the screen readers. Android’s testing guide gives the method for TalkBack: turn it on under Settings, Accessibility, swipe through every element in sequence, and listen. Ask what the guide asks. Does the spoken feedback convey each element’s content or purpose, and is it succinct? Can you complete the main workflows? Can you reach every element by swiping? If a temporary message appears, is it read aloud? Do the same with VoiceOver, and use Xcode’s Accessibility Inspector to see what each element hands to the screen reader. The criteria in play are 1.1.1, 4.1.2 and 4.1.3.

Touch targets. Measure, do not eyeball. Icon-only controls (close, show balance, copy) are the usual offenders. Check each against 48 dp on Android and the platform guidance on iOS, and against 2.5.8 and its spacing exception when you claim WCAG. Check dragging and gestures too: a slide-to-confirm control, a swipe-to-delete row and a pinch on a receipt all need a single-tap alternative (2.5.1, 2.5.7).

Contrast. Check body text, helper text, placeholders, disabled-looking but active controls and text over images or gradients, at 4.5:1 for normal text and 3:1 for large-scale text (1.4.3), and borders and icons at 3:1 (1.4.11). Check in bright light too: cheap panels wash out.

Dynamic type. Set the largest font size the OS offers, and the largest display size on Android, then walk the flow. Look for clipped amounts, buttons whose labels truncate, text that overlaps, and screens that need horizontal scrolling. 1.4.4 asks that text can be resized to 200 percent without loss of content or functionality; the test is that nothing is lost, not a specific setting. Android text should be in sp and iOS text should use Dynamic Type’s text styles, so a layout test at the largest size also checks that the code did.

Authentication and re-entry. Owoleaf’s login uses a PIN and an SMS code. Under 3.3.8, a cognitive function test such as remembering a password is allowed only if an alternative or a mechanism is provided, and W3C’s Understanding document for the criterion names password-manager support and copy and paste as ways to meet the mechanism requirement. So test that the code field accepts a paste or an autofill suggestion, and that the app offers fingerprint as another way in. Under 3.3.7, check that no step asks for information the customer already gave in the same transfer.

What automated scanners miss

Android’s Accessibility Scanner, the Accessibility Test Framework behind it, the checks you can switch on in Compose tests, and Google Play’s pre-launch report all look for the same kinds of defect. The pre-launch report groups them as touch target size, low contrast, content labelling and implementation, which includes a traversal order that does not match the logical arrangement. Android’s documentation also says the framework in Android Studio cannot detect issues that occur when the app is running on a device. Scanners are cheap, they run on every build, and they find real problems. Use them. They are the floor.

What they cannot judge is the part that needs a person:

  • Whether a label is any good. A scanner can see that a label exists. It cannot tell you that “Button 2” tells a customer nothing, or that “Send money, button” repeats what the role already says. Android’s guidance is to describe purpose and result, and to avoid redundancy such as “Submit button” where “Submit” will do.
  • Whether the order makes sense. A traversal order can be technically valid and still read the fee before the amount.
  • Whether a message arrives at the right moment. The account name that appears after a name check, or an error under a field, is a status message (4.1.3). A scanner does not know when it appeared.
  • Whether the layout survives the largest text. The failure shows only on the real screen at the real setting.
  • Whether a task is possible. Only someone who relies on TalkBack, Switch Access or Voice Control can say whether the workflow is usable, which is why the Android guide ends with user testing.

Say so in your report. “The scanner found 3 issues” is not “the flow is accessible”.

Day to day

Every build, automatic. Scanner-style checks run in the pull-request pipeline for the screens in the critical flows: labels, touch targets, contrast. A new failure blocks the merge; an old one has an owner and a date. This is the cheap layer, and test automation and the SDET covers how to keep it from becoming noise.

Each sprint, for any new or changed screen. A twenty-minute pass on one low-end Android phone and one iPhone: screen reader, largest text, one slow-network run on edge. Charter it as in exploratory testing and charters, for example “Complete a transfer using only VoiceOver”.

Each release. The device-cloud smoke run across the long tail, plus the lab matrix on the critical flows: sign-up, fund wallet, send money, withdraw. Add the checks that belong to a mobile release: upgrade from the previous two app versions with data in place, and an old version against the new backend. Sign-off criteria for these sit in the checklist from release management and sign-off.

Weekly. Read the crash reporter and Kaosarat’s ticket tags for new device or OS clusters. A model that keeps appearing in crashes and is absent from the matrix goes into the cloud run, and into a lab slot next quarter if it persists.

Quarterly. Rebuild the matrix from fresh analytics, retire a device, add one, and record why. Audit one flow with a user who relies on assistive technology if you can reach one; the Android guide suggests local organisations, colleges and universities that train people with disabilities. Review defect and escape data with the metrics owner, as in quality metrics.

Always. File accessibility defects with the criterion, device, OS, assistive setting and steps, as bug reports that get fixed describes. “TalkBack does not read the account name after the name check; fails 4.1.3; 2 GB phone, Android 9” is fixable. “Accessibility is bad on the send screen” is not.

BY ORG SIZE
STARTUPunder 30 people

There is no QA team and perhaps one mobile engineer. Your lab is the engineers’ phones, which are the wrong phones. Spend the first money on two cheap Android phones, one 2 GB and one with the oldest OS you support, and one old iPhone. Use the emulator’s throttling profiles for the network. Add the free scanner and a ten-minute TalkBack pass to the definition of done for any screen that handles money. Do not buy a device cloud until you have a long tail worth sampling.

SCALE-UP30 to 300

This is where the matrix of about a dozen devices pays for itself. You have analytics worth reading, a support team tagging devices, and a mobile team of several people shipping weekly. Build the matrix from data, add a cloud smoke run for the tail, and put scanner checks in the pipeline. Write the minimum supported version down and enforce it from the server. Owoleaf is here: Ovie holds the budget for twelve devices, and the case for each slot is a number from the analytics.

ENTERPRISE300 and up

A mobile quality function runs a larger lab or a managed cloud contract, per-market matrices (a different set for each country), and an accessibility programme with a named owner, training for designers and engineers and sometimes legal exposure behind it. The problems are scale and politics: dozens of apps sharing one pool of devices, release trains that cannot wait for a lab slot, and accessibility defects owned by teams that were never asked. You set the standard, measure it per app, and make scanner results and conformance claims visible to leadership.

ARTEFACT Write the device matrix and accessibility audit ~75 MIN
YOU PRODUCEDevice matrix and an accessibility audit of one flow

Template

# Device matrix and accessibility audit: <app, flow>
Author · Date · Analytics pulled on <date>, window <days> · Review date

## Install base (from analytics)
| Dimension | Split | Source |
|---|---|---|
Support signal: <tickets or crashes by device cluster, with counts>

## Device matrix
| ID | Platform and OS | RAM | Screen | Why this device (band, extreme, ticket cluster) |
|---|---|---|---|---|

Not covered by the matrix, and where it is covered instead: <emulator, cloud, field run>

## Network and release checks
- Network profiles run: <names and values> · Offline and interrupted cases: <list>
- Old app versions tested against the current backend: <versions> · Minimum supported version: <value>
- Rollout plan: <store, stages, what is paused on what signal>

## Accessibility audit of <flow>
Devices and settings: <screen reader, font size, display size>
| # | Step | Criterion (level) | Method (scanner / manual) | Device | Result | Severity and owner |
|---|---|---|---|---|---|---|

Unit mapping used for target size: <platform number and WCAG number>
Summary: <checks, passes, fails; found by scanner; found only manually>

## Decisions and open questions
| # | Question | Owner | By |
|---|---|---|---|
WORKED EXAMPLE

Owoleaf at 60 people, live in four states, 14 engineers, one mobile engineer. Analytics pulled 3 November, 30 days, 12,600 active devices (all figures illustrative): Android 90%, iOS 10%. Android RAM: 2 GB or less 35%, 3 GB 26%, 4 GB 23%, 6 GB or more 16%. Android version: 8 to 9 22%, 10 to 11 31%, 12 to 13 29%, 14 or later 18%. Kaosarat’s tickets: 168 of 310 crash and lost-form tickets (54%) came from 2 GB phones.

Matrix, twelve devices. Android, ten: A1 2 GB, Android 8.1 Go, 5.5 inch (oldest OS, smallest screen); A2 2 GB, Android 9 Go; A3 2 GB, Android 10 Go (the ticket cluster, three slots for 35%); A4 3 GB, Android 10; A5 3 GB, Android 11; A6 4 GB, Android 11; A7 4 GB, Android 12 with a heavily modified skin; A8 4 GB, Android 13; A9 6 GB, Android 13; A10 8 GB, Android 14 (newest OS, gesture navigation). iOS, two: I1 oldest supported iOS, smallest screen; I2 newest iOS, current phone. RAM bands hold 3, 2, 3 and 2 devices; version bands hold 2, 4, 3 and 1. Not covered: the 59% model tail, sampled by a 45-model cloud smoke run each release.

Audit of Send to a bank account, 11 checks, run on A1, A3, I1 and I2: 4 pass, 7 fail. The scanner found 3: the Send icon has no label (1.1.1 and 4.1.2, A), the show-balance eye is 24 dp where Android recommends 48, and grey fee text is #949494 on white, 3.03:1 against 4.5:1 (1.4.3, AA). A person found 4: selected bank shown by colour only (1.4.1, A), account name not announced after the name check (4.1.3, AA), amount clipped at the largest font size (1.4.4, AA), and the app locked to portrait (1.3.4, AA). Passes include fingerprint as an alternative at the PIN step (3.3.8) and no retyping of the account number (3.3.7). The scanner found 3 of 7.

Now you

Six months on, Owoleaf at 60 people has 14,100 active devices, 88% Android. Android 14 and later has grown from 18% to 26% of Android devices and the 2 GB share has held at 35%. The twelve-device lab is unchanged. A model that is not in the lab has reached 9% of Android crash reports. In five weeks the app launches Pay bills, which buys electricity tokens: the customer picks a provider, enters a meter number, an amount, and confirms with a slide-to-pay control. The one mobile engineer has no time to test beyond the happy path, and the bill provider’s API is slow on a poor network, so a customer may not know whether the token was bought. Ovie will approve one device swap and one purchase. Rebuild the matrix from the new figures, say what you would swap, and audit Pay bills end to end, including the slide-to-pay control, the offline and interrupted cases and the screen-reader experience of the result.

Self-check

DECIDE

Ovie, Owoleaf's engineering manager, has budget for twelve test devices. Owoleaf's illustrative analytics show 90% Android and 10% iOS. On Android, 35% of devices have 2 GB of RAM or less, the twelve most common models make up 41%, and 54% of crash tickets last quarter came from 2 GB phones. One engineer owns mobile releases. A device cloud already covers the model tail in a smoke run. Which twelve devices do you ask Ovie to buy?

READING
  1. DOC
    Web Content Accessibility Guidelines (WCAG) 2.2 W3C

    The standard itself. Read the success criteria you cite, in full, with their exceptions, before you put a number or a level in a report. The criteria in this chapter were checked against the WCAG source text.

  2. DOC
    Test your app's accessibility Android Developers

    The platform's own method for manual testing with TalkBack and Switch Access, analysis with Accessibility Scanner and the Play pre-launch report, and user testing. Use its question lists as your session checklist.

  3. DOC
    Make apps more accessible Android Developers

    The Android numbers for touch target size, text contrast and content descriptions. Read it when you map a WCAG criterion onto a native screen.

  4. DOC
    Accessibility testing in Compose Android Developers

    How to switch on automatic accessibility checks in UI tests, and which defects they catch. It is the pipeline layer of the audit.

  5. DOC
    Android Emulator console: network speed and delay Android Developers

    The named speed and latency profiles from GSM to LTE, and the command to change them while an app runs. Use the names in your bug reports.

  6. DOC
    Release a version update in phases Apple

    The seven-day phased release schedule, the 30-day pause limit and the fact that anyone can still update by hand. Read it before you promise that a bad build can be contained.

  7. DOC
    Accessibility Inspector Apple

    Apple's documentation entry for the Xcode tool used to inspect the accessibility attributes of an element on iOS. Use it beside VoiceOver sessions so you can see what the screen reader is given.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Test data, environments and flaky tests →