Offline and failure states
When a connection fails, people do not know what happened to their work or what to do next.
The answer
Say plainly what went wrong and what people can do, and keep what they entered. As strong as the weakest rule behind it: moderate.
-
Say plainly that something went wrong, without codes or blame, and what people can do next.
GOV.UK patterns (one tested with 5 users) and web.dev guidance agree. GOV.UK says its not-found pattern has no completed research.
- Applies when
- A request, page or service fails.
- Based on
- Practitioner research
- Principle
- Help people recover from errors
- Common mistake
- An error code with no explanation.
- GuidanceGuidance: There is a problem with the service pagesGOV.UK Design System
- Guidance: Page not found pagesGOV.UK Design System
- Guidance: Offline UX design guidelinesMustafa Kurtuldu and Thomas Steiner, 2016
-
Tell people what happened to what they entered, and keep it so they don’t have to enter it again.
GOV.UK asks for it in two patterns. Baymard reports some participants abandoned when card details were wiped after an error, with no counts. WCAG 3.3.7 covers re-entry within a process; see Preserving input after an error.
- Applies when
- Failure happens partway through a task.
- Based on
- Practitioner research
- Principle
- Help people recover from errors
- Common mistake
- Wiping a form after a failed submit.
- User researchUser research: Preserve credit card details when a validation error occursSonia Sousa, 2024
- GuidanceGuidance: There is a problem with the service pagesGOV.UK Design System
- Guidance: Service unavailable pagesGOV.UK Design System
The other rules
-
If an error message appears without taking focus, make sure screen readers announce it.
WCAG 2.2 success criterion 4.1.3, level AA.
- Applies when
- A failure notice appears in place.
- Based on
- Standard or law
- Principle
- Work for everyone
- StandardStandard: Understanding SC 4.1.3 Status Messages (Level AA)W3C WAI
-
When offline, keep working what can, and disable only what needs a connection.
One guidance article from 2016, no research.
- Applies when
- The connection is lost.
- Based on
- Practitioner research
- Principle
- Keep people in control
- Common mistake
- A full-screen blocker on an unstable connection.
- GuidanceGuidance: Offline UX design guidelinesMustafa Kurtuldu and Thomas Steiner, 2016
-
Show actions taken offline as waiting, not saved, and send them when the connection returns.
Same single source.
- Applies when
- Actions are queued while offline.
- Based on
- Practitioner research
- Principle
- Keep people informed
- GuidanceGuidance: Offline UX design guidelinesMustafa Kurtuldu and Thomas Steiner, 2016
-
For planned downtime, say when the service is back. For unexpected failures, don’t promise a time you don’t know.
GOV.UK testing with 5 users found people wanted a return time, and that a failure page cannot give one.
- Applies when
- A whole service is unavailable.
- Based on
- Practitioner research
- Principle
- Keep people informed
- GuidanceGuidance: Service unavailable pagesGOV.UK Design System
- Guidance: There is a problem with the service pagesGOV.UK Design System
-
Acknowledge a failure to the person. A message softens the effect of repeated failures.
One peer-reviewed paper on app crashes, read as abstract only, reports experiments where a message after a crash reduced the harm of repeated crashes. Whole-app crashes, not failed requests.
- Applies when
- Failures recur.
- Based on
- Research
- Principle
- Keep people informed
- ExperimentExperiment: The Impact of App Crashes on Consumer EngagementWedel, 2025
-
When a request fails, retry quietly a few times if that’s safe, then tell people and offer Try again.
No opened source tests it; GOV.UK's pattern has no retry control.
- Applies when
- A request fails for a reason that may pass.
- Based on
- Convention
- Principle
- Keep people in control
- GuidanceGuidance: Offline UX design guidelinesMustafa Kurtuldu and Thomas Steiner, 2016
- Guidance: There is a problem with the service pagesGOV.UK Design System
Accessibility
Open questions
- OpenAutomatic or manual retry? No evidence.
- OpenDo people understand a pending state for queued actions? No study found.
- OpenWhat do people do after a failure? One abstract on app crashes; a Sage paper not opened in full (behind a paywall, kept for a later pass).
Sources
- ExperimentExperiment: The Impact of App Crashes on Consumer EngagementWedel, 2025
- User researchUser research: Preserve credit card details when a validation error occursSonia Sousa, 2024
- StandardStandard: Understanding SC 4.1.3 Status Messages (Level AA)W3C WAI
- GuidanceGuidance: There is a problem with the service pagesGOV.UK Design System
- Guidance: Page not found pagesGOV.UK Design System
- Guidance: Offline UX design guidelinesMustafa Kurtuldu and Thomas Steiner, 2016
- Guidance: Service unavailable pagesGOV.UK Design System
Related
- Empty statesNever leave an empty area blank. Say why it is empty, and give a way to start or recover.Answer: moderate.
- Preserving input after an errorNever make people type something twice. Keep what they entered through errors and back steps.Answer: weak.
- Error message contentSay which field is wrong and how to fix it, right next to the field.Answer: strong.
- Optimistic updatesShow results early only for small, reversible actions. Wait for the server for anything that matters.Answer: weak.
- Loading indicatorsShow nothing for waits under a second, and limit the loading state to the part that is loading.Answer: weak.