Offline and failure states

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

Sending a message while offline. One page shows an error code and empties the box. The other says the message could not be sent because there is no connection, keeps the text, and offers Try again.

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.
  • Tell people what happened to what they entered, and keep it so they don’t have to enter it again.

The other rules

  • If an error message appears without taking focus, make sure screen readers announce it.
  • When offline, keep working what can, and disable only what needs a connection.
  • Show actions taken offline as waiting, not saved, and send them when the connection returns.
  • For planned downtime, say when the service is back. For unexpected failures, don’t promise a time you don’t know.
  • Acknowledge a failure to the person. A message softens the effect of repeated failures.
  • When a request fails, retry quietly a few times if that’s safe, then tell people and offer Try again.

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).
Checked November 12, 2026

Sources