What the person is doing
The user has already invoked an action and the product must verify intent before committing it.
Foundation · lesson 6 of 23 · Error Prevention And Recovery
Underlying principle: Recovery begins before the error. Clear consequences, suitable constraints, preserved work, and a visible correction path reduce the cost of a mistake.
Interrupt the requested action with an alert-style decision that names the object, scope, and consequence, makes cancellation safe and easy, and requires an explicit confirming action before commitment.
Recovery begins before the error. Clear consequences, suitable constraints, preserved work, and a visible correction path reduce the cost of a mistake.
The user has already invoked an action and the product must verify intent before committing it.
Interrupt the requested action with an alert-style decision that names the object, scope, and consequence, makes cancellation safe and easy, and requires an explicit confirming action before commitment.
Pre-action state with an explicit consequential trigger.
What information in this dialog could reasonably make a user cancel?
The dialog has alertdialog semantics or equivalent platform behavior when it communicates an urgent decision that requires a response.
The user has already invoked an action and the product must verify intent before committing it.
Open the working example, try its controls, and compare the behavior against the decision guidance.
The user has already invoked an action and the product must verify intent before committing it.
Interrupt the requested action with an alert-style decision that names the object, scope, and consequence, makes cancellation safe and easy, and requires an explicit confirming action before commitment.
Pre-action state with an explicit consequential trigger.
Habituation from confirming frequent low-risk actions.
Use alertdialog semantics or platform equivalent when the decision is urgent and requires a response.
Apple - checked
Apple alert guidance distinguishes uncommon destructive actions that cannot be undone from common undoable actions.
W3C Web Accessibility Initiative - checked
APG defines alert dialogs as modal interruptions for important messages that require a response.
Microsoft - checked
Microsoft confirmation guidance explains when confirmations are justified and when prevention, undo, or feedback are better.
W3C Web Accessibility Initiative - checked
Modal dialog guidance supplies the underlying focus containment, Escape, inert background, and focus-return behavior for confirmation dialogs.
Source trail checked: