- UI or UX
- UI + UX - Consequential alert decision
- UI guidance
- Render an alert-style modal decision with a specific title, consequence description, safe cancellation, and a destructive action label that names the object or scope.
- UX guidance
- Interrupt users only when the action has a meaningful consequence that cannot be safely recovered afterward.
- Good UI
- Delete Research archive? explains that 14 notes and shared links will be permanently removed, offers Keep archive, and labels the danger action Delete archive.
- Bad UI
- A popup says Are you sure? with OK and Cancel but does not name the project, notes, or irreversible outcome.
- Good UX
- Cancel, Escape, and Keep archive leave the archive unchanged and return focus to Delete archive.
- Bad UX
- Every archive, filter, and dismiss action opens the same confirmation until users click through automatically.
- Best fit
- The action is destructive, irreversible, costly, security-sensitive, privacy-affecting, or externally visible.
- Avoid when
- The action is routine and easily reversible.
- Required state
- Pre-action state with an explicit consequential trigger.
- Accessibility burden
- Use alertdialog semantics or platform equivalent when the decision is urgent and requires a response.
- Common misuse
- Asking users to confirm every routine action until they stop reading.