What the person is doing
The user has already selected a destructive command such as Delete, Remove, Cancel, Deactivate, Reset, Revoke, or Permanently erase.
Application · lesson 7 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.
After a destructive command is invoked, show a focused destructive confirmation that names the target and destructive verb, inventories the loss, offers a safe keep path, requires any needed acknowledgement, blocks unavailable commits, and reports the final outcome.
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 selected a destructive command such as Delete, Remove, Cancel, Deactivate, Reset, Revoke, or Permanently erase.
After a destructive command is invoked, show a focused destructive confirmation that names the target and destructive verb, inventories the loss, offers a safe keep path, requires any needed acknowledgement, blocks unavailable commits, and reports the final outcome.
Review state that names the destructive verb, target object, and affected scope.
What exactly will be gone, revoked, cancelled, reset, or deactivated after commit?
The confirmation appears only after a user-initiated destructive command.
The user has already selected a destructive command such as Delete, Remove, Cancel, Deactivate, Reset, Revoke, or Permanently erase.
The full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
The user has already selected a destructive command such as Delete, Remove, Cancel, Deactivate, Reset, Revoke, or Permanently erase.
After a destructive command is invoked, show a focused destructive confirmation that names the target and destructive verb, inventories the loss, offers a safe keep path, requires any needed acknowledgement, blocks unavailable commits, and reports the final outcome.
Review state that names the destructive verb, target object, and affected scope.
Users delete the wrong object because the confirmation title omits the target name.
Use alertdialog semantics or platform equivalent when the destructive decision requires an immediate response.
Atlassian - checked
Atlassian danger modal examples show destructive delete copy, affected child content, cancel, and danger action styling.
Maersk - checked
Maersk dialog guidance reserves disruptive dialogs for decisions and explicitly includes destructive-action confirmation.
Apple - checked
Apple alert guidance supports deliberate destructive-action treatment and warns against ambiguous confirmation labels.
Microsoft - checked
Microsoft confirmation guidance supports specific consequence information and alternatives such as undo or prevention.
W3C Web Accessibility Initiative - checked
APG supplies alertdialog semantics for important modal decisions requiring a response.
Source trail checked: