toast notification
A brief message that pops up, usually in a corner, to confirm something happened, then disappears on its own.
In more detail
Toasts do not take focus, so screen reader users only hear them if they are written into a live region. They should not hold essential actions, because they vanish.
Example
In React, toasts are usually rendered through a portal.Related terms
- ARIA live region — An element whose text changes are announced by screen readers even though focus is elsewhere, set up with aria-live or roles such as status and alert.
- status role — The ARIA role for advisory messages, such as "Saved", that screen readers announce politely when they finish what they are reading.
- portal — A React feature, createPortal, that renders a component's children into a different place in the DOM, usually document.body.
Taught in
- Overlay Architecture: Portals, Stacking Contexts & Backdrops — Design Systems & Component Engineering
- Screen Reader Interactions: Live Regions & Announcement Cues — Design Systems & Component Engineering
- React Portals: Escaping Stacking Contexts for Modals — React 19 & Modern Component Architecture