Toast and Snackbar Notifications, Done Properly
Brief messages that appear temporarily to confirm an action or report a status, such as Saved or Message sent.
On this page
The key figures
- Announcement
- status messages should use a live region under WCAG 4.1.3
- Timing
- messages that disappear quickly can fail timing requirements if they contain important information
- Material Design
- snackbars show brief messages at the bottom of the screen
- Actions
- a toast may offer one action, such as undo
Why this is worth getting right
Toasts are easy to miss and can disappear before some users read them, so they suit only low-importance confirmations.
Do this, not that
Do
- Use toasts only for non-critical confirmations
- Keep messages short
- Allow enough time to read, or let users dismiss manually
- Announce messages to screen readers
- Offer undo for reversible actions
Don’t
- Errors shown only in disappearing toasts
- Several stacked toasts at once
- Toasts covering important controls
- Critical actions only available in a toast
When to bring in help
Our advice Bring in help when users miss important feedback, or when defining notification patterns for a product.
Where this comes from
- Material Design — Snackbar
- W3C Web Accessibility Initiative — Understanding SC 4.1.3 Status Messages
The figures and practices above come from the sources listed.
Working on something like this?
We take on UI & UX Design work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.