Undo toasts — delete recovery without stealing focus

A small UI accessibility note, with an interactive BEFORE/AFTER demo.

Destructive actions (delete, discard, remove) happen constantly in games and apps. If the UI treats them as “instant and final,” people make mistakes — especially on controller/keyboard, with motor tremor, or when a list reflows.

Goal: let someone recover from a mistake without opening a modal or stealing focus.

Why “visual-only” delete toasts fail

Related: toast announcements (aria-live).

Minimum viable Undo toast (checklist)

If the action is truly irreversible (e.g., “Delete account”), use a confirmation dialog instead. Undo toasts are best for “oops” mistakes like removing an item from a list.

Accessibility notes