Toasts and notifications

A message that appears and vanishes by itself is easily missed, and hard to get back.

A payment fails. Told only in a message that slides away after a few seconds, the person, looking elsewhere, misses it. Told in a message that stays on the page with a way forward, they cannot miss it.

The answer

Use messages that vanish by themselves only for things people can afford to miss. As strong as the weakest rule behind it: moderate.

  • Use a message that disappears only for information people can do without or find again elsewhere.

The other rules

  • Make sure screen readers announce toasts, without moving focus.
  • Announce politely. Don’t interrupt for a message that isn’t important or urgent.
  • A message with an action, such as Undo, stays until people close it, and the action is also available somewhere permanent.
  • Pause the timer while the pointer or focus is on the message, and always offer a way to close it.
  • Don’t move focus to a toast that has no controls.
  • If people need a timed message, let them turn off, adjust or extend the timer.
  • Show a toast for at least 5 seconds, longer for more text, and pause it on hover and focus.
  • Show one toast at a time, and queue the rest.

Accessibility

Open questions

  • OpenAre toasts noticed? No study found. One paper on notification detection (n=34) was read as abstract only.
  • OpenHow long should they stay?
  • OpenNot read: Polaris, Primer, Lightning and the Material 3 guideline pages.
Checked November 12, 2026

Sources