Confirmation dialogs

Confirmation dialogs that appear often, and all look the same, stop being read.

Deleting a folder. A dialog asking “Are you sure?” with OK is clicked through out of habit. A dialog naming the folder and its 14 files, with a button that says Delete 14 files, makes clear what will happen.

The answer

Confirm rarely, label the buttons with what they do, and for severe actions make people engage with the detail. As strong as the weakest rule behind it: moderate.

The other rules

  • Don’t count on an extra click to make people stop and think.
  • Remove a confirmation that people almost always accept, unless law or safety requires it.
  • Offer “Don’t show again” only on routine confirmations, never on serious ones.
  • Don’t read lots of clicking through as carelessness. Many people are right to proceed.
  • Never make the destructive button the default. For risky actions, default to the safe choice.

Accessibility

Open questions

  • OpenButton order and default focus: no study found.
  • OpenDoes wording of the question change errors on destructive actions? No study found; all research is on security warnings, permission prompts and clinical alerts.
  • OpenVarying a prompt's appearance slows habituation in two studies; that is appearance, so it is left out of the rules.

Dark patterns

Checked November 12, 2026

Sources