# Offline and failure states

> When a connection fails, people do not know what happened to their work or what to do next.

Area: Feedback and status. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/feedback/offline-failure

## The answer

Say plainly what went wrong and what people can do, and keep what they entered.

- **Moderate.** Say plainly that something went wrong, without codes or blame, and what people can do next. (https://uxreference.com/feedback/offline-failure#rule-1)
- **Moderate.** Tell people what happened to what they entered, and keep it so they don’t have to enter it again. (https://uxreference.com/feedback/offline-failure#rule-2)

## The problem

When a request or the connection fails, people need to know what happened, what became of their work, and what they can do now.

## How to decide

None. The sources split planned closure from unexpected failure ([rule 5](https://uxreference.com/feedback/offline-failure#rule-5)) and online from offline ([rules 3 and 4](https://uxreference.com/feedback/offline-failure#rule-3)); none describes a tested choice.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Moderate

Say plainly that something went wrong, without codes or blame, and say what the person can do next.

- Applies when: A request, page or service fails.
- Based on: Practitioner research
- Principle: Help people recover from errors

Why: GOV.UK patterns (one tested with 5 users) and web.dev guidance agree. GOV.UK says its not-found pattern has no completed research.

Sources: [There is a problem with the service pages](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/); [Page not found pages](https://design-system.service.gov.uk/patterns/page-not-found-pages/); [Offline UX design guidelines](https://web.dev/articles/offline-ux-design-guidelines)

Link: https://uxreference.com/feedback/offline-failure#rule-1

#### Rule 2. Moderate

Tell people what happened to what they had entered, and keep it so they do not have to enter it again.

- Applies when: Failure happens partway through a task.
- Based on: Practitioner research
- Principle: Help people recover from errors

Why: 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](https://uxreference.com/forms/preserve-input).

Sources: [There is a problem with the service pages](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/); [Service unavailable pages](https://design-system.service.gov.uk/patterns/service-unavailable-pages/); [Preserve credit card details when a validation error occurs](https://baymard.com/blog/preserve-card-details-on-error)

Link: https://uxreference.com/feedback/offline-failure#rule-2

#### Rule 3. Weak

When offline, keep working what can work and disable only what needs a connection.

- Applies when: The connection is lost.
- Based on: Practitioner research
- Principle: Keep people in control

Why: One guidance article from 2016, no research.

Sources: [Offline UX design guidelines](https://web.dev/articles/offline-ux-design-guidelines)

Link: https://uxreference.com/feedback/offline-failure#rule-3

#### Rule 4. Weak

Show actions taken offline as pending, distinct from saved, and send them when the connection returns.

- Applies when: Actions are queued while offline.
- Based on: Practitioner research
- Principle: Keep people informed

Why: Same single source.

Sources: [Offline UX design guidelines](https://web.dev/articles/offline-ux-design-guidelines)

Link: https://uxreference.com/feedback/offline-failure#rule-4

#### Rule 5. Weak

For a planned closure, say when the service returns; for an unexpected failure do not promise a time you do not know.

- Applies when: A whole service is unavailable.
- Based on: Practitioner research
- Principle: Keep people informed

Why: GOV.UK testing with 5 users found people wanted a return time, and that a failure page cannot give one.

Sources: [Service unavailable pages](https://design-system.service.gov.uk/patterns/service-unavailable-pages/); [There is a problem with the service pages](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/)

Link: https://uxreference.com/feedback/offline-failure#rule-5

#### Rule 6. Settled, WCAG AA

A failure message that appears without taking focus must be exposed so assistive technology announces it.

- Applies when: A failure notice appears in place.
- Based on: Standard or law
- Principle: Work for everyone

Why: WCAG 2.2 success criterion 4.1.3, level AA.

Sources: [Understanding SC 4.1.3 Status Messages (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html)

Link: https://uxreference.com/feedback/offline-failure#rule-6

#### Rule 7. Weak

After a failure, acknowledge it to the person; a message softens the effect of repeated failures.

- Applies when: Failures recur.
- Based on: Research
- Principle: Keep people informed

Why: 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.

Sources: [The Impact of App Crashes on Consumer Engagement](https://journals.sagepub.com/doi/abs/10.1177/00222429241304322)

Link: https://uxreference.com/feedback/offline-failure#rule-7

#### Rule 8. Unsettled

Whether to retry automatically or ask the person to retry is unsettled.

Until the evidence settles, use this default: Retry quietly a small number of times for actions that are safe to repeat, then tell the person and offer a retry control.

- Applies when: A request fails for a reason that may pass.
- Based on: Convention
- Principle: Keep people in control

Why: No opened source tests it; GOV.UK's pattern has no retry control.

Sources: [Offline UX design guidelines](https://web.dev/articles/offline-ux-design-guidelines); [There is a problem with the service pages](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/)

Link: https://uxreference.com/feedback/offline-failure#rule-8

## Accessibility requirements

- WCAG 4.1.3 (AA) for failure notices that do not take focus; an error in a dialog that takes focus is outside it. (https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html)
- WCAG 3.3.7 (A) Redundant Entry bears on [rule 2](https://uxreference.com/feedback/offline-failure#rule-2); see [Preserving input after an error](https://uxreference.com/forms/preserve-input). (https://www.w3.org/WAI/WCAG22/Understanding/redundant-entry.html)

## Common mistakes

- An error code with no explanation.
- A full-screen blocker on an unstable connection.
- Wiping a form after a failed submit.

## Still open

- Automatic or manual retry? No evidence.
- Do people understand a pending state for queued actions? No study found.
- What 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).

## Related problems

- [Empty states](https://uxreference.com/feedback/empty-states): Never leave an empty area blank. Say why it is empty, and give a way to start or recover.
- [Preserving input after an error](https://uxreference.com/forms/preserve-input): Never make people type something twice. Keep what they entered through errors and back steps.
- [Error message content](https://uxreference.com/forms/error-messages): Say which field is wrong and how to fix it, right next to the field.
- [Optimistic updates](https://uxreference.com/feedback/optimistic): Show results early only for small, reversible actions. Wait for the server for anything that matters.
- [Loading indicators](https://uxreference.com/feedback/loading): Show nothing for waits under a second, and limit the loading state to the part that is loading.

## Sources

- [There is a problem with the service pages](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/). GOV.UK Design System (GDS), n.d., pattern documentation; tested with 5 users.
- [Page not found pages](https://design-system.service.gov.uk/patterns/page-not-found-pages/). GOV.UK Design System (GDS), n.d., pattern documentation.
- [Offline UX design guidelines](https://web.dev/articles/offline-ux-design-guidelines). Mustafa Kurtuldu and Thomas Steiner, web.dev (Google), 2016, company guidance with examples.
- [Service unavailable pages](https://design-system.service.gov.uk/patterns/service-unavailable-pages/). GOV.UK Design System (GDS), n.d., pattern documentation; tested with 5 users.
- [Preserve credit card details when a validation error occurs](https://baymard.com/blog/preserve-card-details-on-error). Sonia Sousa, Baymard Institute, 2024, large-scale qualitative checkout usability testing plus site benchmark.
- [Understanding SC 4.1.3 Status Messages (Level AA)](https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html). W3C WAI (WCAG Working Group), n.d., normative standard (Understanding document is informative).
- [The Impact of App Crashes on Consumer Engagement](https://journals.sagepub.com/doi/abs/10.1177/00222429241304322). Wedel, Lee, Shi, Kalyanam; Journal of Marketing, 2025, field data on app usage plus three experiments that manipulate crashes.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
