Confirmation dialogs
Confirmation dialogs that appear often, and all look the same, stop being read.
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.
-
Ask for confirmation rarely. People pay less attention each time they see the same prompt.
Lab and field studies of security warnings agree: attention and adherence fall with repetition (87% to 64% over three weeks in one field study), and showing a prompt less often raised adherence from 56% to 75% in a browser field test. All on security warnings, a neighboring topic, so 3. Whether to confirm at all is in Confirming vs undoing a destructive action.
- Applies when
- A confirmation could fire on many actions or many times for one person.
- Based on
- Research
- Depends on
- How often they do it
- Principle
- Prevent errors
- Common mistake
- The same confirmation on every action.
- ExperimentsExperiment: From Warning to Wallpaper: Why the Brain Habituates to Security Warnings and What Can Be Done About ItBonnie Anderson, 2016
- Experiment: Tuning Out Security Warnings: A Longitudinal Examination of Habituation Through fMRI, Eye Tracking, and Field ExperimentsAnthony Vance, 2018
- Experiment: A Week to Remember: The Impact of Browser Warning Storage PoliciesJoel Weinberger, 2016
- Field dataField data: Alice in Warningland: A Large-Scale Field Study of Browser Security Warning EffectivenessDevdatta Akhawe, 2013
-
For the most serious actions, make people engage with what matters, such as typing the name of what will be deleted.
Large online experiments on install dialogs found forcing engagement with the key field cut risky acceptance by up to about half, where a static style change did nothing. Installers, not deletions, so 3. Same rule as Confirming vs undoing a destructive action, rule 9.
- Applies when
- A rare action that cannot be undone and affects a lot.
- Based on
- Research
- Depends on
- Whether it can be undone, How often they do it, What a mistake costs
- Principle
- Prevent errors
- ExperimentExperiment: Your Attention Please: Designing security-decision UIs to make genuine risks harder to ignoreCristian Bravo-Lillo, 2013
- GuidanceGuidance: Confirmation Dialogs Can Prevent User Errors - If Not OverusedJakob Nielsen, 2018
-
Label the buttons with what they do.
Apple, Nielsen and Microsoft all prefer action labels and reject OK and Cancel pairs for confirmations. Microsoft alone allows Yes and No when a specific label is not clear. No study of label wording was found. See Confirming vs undoing a destructive action, rule 7.
- Applies when
- Any confirmation.
- Based on
- Practitioner research
- Principle
- Speak the person’s language
- Common mistake
- OK and Cancel on a question that does not say what OK does.
- GuidanceGuidance: Human Interface Guidelines - AlertsApple Inc., 2026
- Guidance: Confirmation Dialogs Can Prevent User Errors - If Not OverusedJakob Nielsen, 2018
- Guidance: Confirmation Messages (Windows UX interaction guidelines)Microsoft Learn, 2025
The other rules
-
Don’t count on an extra click to make people stop and think.
In a browser field test 98% of people who took the first step took the second. A literature review reports click count is not an effective deterrent. Neighboring topic.
- Applies when
- Adding a step to a confirmation to slow people down.
- Based on
- Research
- Principle
- Prevent errors
- Common mistake
- A second "Are you sure?" after the first.
- ReviewReview: How to Design Browser Security and Privacy AlertsLynsay A. Shepherd, 2018
- ExperimentExperiment: Experimenting At Scale With Google Chrome's SSL WarningAdrienne Porter Felt, 2014
-
Remove a confirmation that people almost always accept, unless law or safety requires it.
Microsoft's guide says so and gives a 98% figure without a source. The browser field test supports showing prompts less often.
- Applies when
- An existing confirmation is nearly always accepted.
- Based on
- Practitioner research
- Depends on
- How often they do it
- Principle
- Leave out what is not needed
- ExperimentExperiment: A Week to Remember: The Impact of Browser Warning Storage PoliciesJoel Weinberger, 2016
- GuidanceGuidance: Confirmation Messages (Windows UX interaction guidelines)Microsoft Learn, 2025
-
Offer “Don’t show again” only on routine confirmations, never on serious ones.
One design guide.
- Applies when
- People see the same confirmation repeatedly.
- Based on
- Practitioner research
- Depends on
- How often they do it
- Principle
- Keep people in control
- GuidanceGuidance: Confirmation Messages (Windows UX interaction guidelines)Microsoft Learn, 2025
-
Don’t read lots of clicking through as carelessness. Many people are right to proceed.
A review of clinical alerts found 29% to 100% of overrides were judged appropriate; read as abstract only. The browser study's authors blame false alarms for most low adherence.
- Applies when
- Judging a confirmation by how often it is accepted.
- Based on
- Research
- Principle
- Prevent errors
- ReviewReview: Systematic review of overridden clinical decision support alertsTahmina Nasrin Poly, 2020
- ExperimentExperiment: A Week to Remember: The Impact of Browser Warning Storage PoliciesJoel Weinberger, 2016
-
Never make the destructive button the default. For risky actions, default to the safe choice.
Microsoft defaults to the safe choice for risky confirmations and to continue for routine ones. Apple says Cancel need not be the default and that no default can make people read. Other systems differ again (see Confirming vs undoing a destructive action, rule 11). No study found.
- Applies when
- A confirmation opens.
- Based on
- Convention
- Principle
- Prevent errors
- GuidanceGuidance: Human Interface Guidelines - AlertsApple Inc., 2026
- Guidance: Confirmation Messages (Windows UX interaction guidelines)Microsoft Learn, 2025
Accessibility
- Dialog behavior and focus: see Modal dialogs and Focus management on open and close.
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
Sources
- ReviewsReview: How to Design Browser Security and Privacy AlertsLynsay A. Shepherd, 2018
- Review: Systematic review of overridden clinical decision support alertsTahmina Nasrin Poly, 2020
- ExperimentsExperiment: From Warning to Wallpaper: Why the Brain Habituates to Security Warnings and What Can Be Done About ItBonnie Anderson, 2016
- Experiment: Tuning Out Security Warnings: A Longitudinal Examination of Habituation Through fMRI, Eye Tracking, and Field ExperimentsAnthony Vance, 2018
- Experiment: A Week to Remember: The Impact of Browser Warning Storage PoliciesJoel Weinberger, 2016
- Experiment: Experimenting At Scale With Google Chrome's SSL WarningAdrienne Porter Felt, 2014
- Experiment: Your Attention Please: Designing security-decision UIs to make genuine risks harder to ignoreCristian Bravo-Lillo, 2013
- Field dataField data: Alice in Warningland: A Large-Scale Field Study of Browser Security Warning EffectivenessDevdatta Akhawe, 2013
- GuidanceGuidance: Confirmation Dialogs Can Prevent User Errors - If Not OverusedJakob Nielsen, 2018
- Guidance: Human Interface Guidelines - AlertsApple Inc., 2026
- Guidance: Confirmation Messages (Windows UX interaction guidelines)Microsoft Learn, 2025
Related
- Confirming vs undoing a destructive actionAct at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare.Answer: moderate.
- Modal dialogsUse a modal only when people must respond before anything else, and only after their own action.Answer: moderate.
- Focus management on open and closeMove focus into a dialog when it opens, and back to the control that opened it when it closes.Answer: moderate.