# Confirmation dialogs

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

Area: Dialogs and overlays. Evidence behind the answer: Moderate. Last checked November 12, 2026.
Page: https://uxreference.com/dialogs/confirmation

## The answer

Confirm rarely, label the buttons with what they do, and for severe actions make people engage with the detail.

- **Moderate.** Ask for confirmation rarely. People pay less attention each time they see the same prompt. (https://uxreference.com/dialogs/confirmation#rule-1)
- **Moderate.** For the most serious actions, make people engage with what matters, such as typing the name of what will be deleted. (https://uxreference.com/dialogs/confirmation#rule-3)
- **Moderate.** Label the buttons with what they do. (https://uxreference.com/dialogs/confirmation#rule-4)

## The problem

A confirmation only protects people if they read it, and dialogs that appear often or look the same each time stop being read.

## How to decide

None. The decision to confirm or offer undo has its tree in [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo). This entry adds no branch of its own.

## Every rule

Each rule has a grade: Settled (required by WCAG AA or law, or replicated research), Strong, Moderate, Weak, or Unsettled (use the stated default until the evidence settles).

#### Rule 1. Moderate

Show a confirmation rarely. Attention to a repeated, identical prompt falls with each showing.

- 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

Why: 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](https://uxreference.com/deleting/confirm-vs-undo).

Sources: [From Warning to Wallpaper: Why the Brain Habituates to Security Warnings and What Can Be Done About It](https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2987&context=facpub); [Tuning Out Security Warnings: A Longitudinal Examination of Habituation Through fMRI, Eye Tracking, and Field Experiments](https://misq.umn.edu/pub/skin/frontend/default/misq/pdf/V42I2/14124_RA_VanceJenkins.pdf); [Alice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41323.pdf); [A Week to Remember: The Impact of Browser Warning Storage Policies](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45374.pdf)

Link: https://uxreference.com/dialogs/confirmation#rule-1

#### Rule 2. Moderate

Do not rely on an extra click to make people stop and think.

- Applies when: Adding a step to a confirmation to slow people down.
- Based on: Research
- Principle: Prevent errors

Why: 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.

Sources: [Experimenting At Scale With Google Chrome's SSL Warning](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41927.pdf); [How to Design Browser Security and Privacy Alerts](https://arxiv.org/pdf/1806.05426)

Link: https://uxreference.com/dialogs/confirmation#rule-2

#### Rule 3. Moderate

For the most severe actions, make people engage with the detail that matters, such as typing the name of the thing affected.

- 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

Why: 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](https://uxreference.com/deleting/confirm-vs-undo#rule-9).

Sources: [Your Attention Please: Designing security-decision UIs to make genuine risks harder to ignore](https://microsoft.com/en-us/research/wp-content/uploads/2016/02/a6_Bravo-Lillo.pdf); [Confirmation Dialogs Can Prevent User Errors - If Not Overused](https://www.nngroup.com/articles/confirmation-dialog/)

Link: https://uxreference.com/dialogs/confirmation#rule-3

#### Rule 4. Moderate

Label the buttons with what they do.

- Applies when: Any confirmation.
- Based on: Practitioner research
- Principle: Speak the person’s language

Why: 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](https://uxreference.com/deleting/confirm-vs-undo#rule-7).

Sources: [Human Interface Guidelines - Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts.md); [Confirmation Dialogs Can Prevent User Errors - If Not Overused](https://www.nngroup.com/articles/confirmation-dialog/); [Confirmation Messages (Windows UX interaction guidelines)](https://learn.microsoft.com/cs-cz/windows/win32/uxguide/mess-confirm)

Link: https://uxreference.com/dialogs/confirmation#rule-4

#### Rule 5. Unsettled

Which button is the default, and where focus starts, is unsettled.

Until the evidence settles, use this default: Never make the destructive button the default; for risky actions make the safe choice the default.

- Applies when: A confirmation opens.
- Based on: Convention
- Principle: Prevent errors

Why: 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](https://uxreference.com/deleting/confirm-vs-undo#rule-11)). No study found.

Sources: [Human Interface Guidelines - Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts.md); [Confirmation Messages (Windows UX interaction guidelines)](https://learn.microsoft.com/cs-cz/windows/win32/uxguide/mess-confirm)

Link: https://uxreference.com/dialogs/confirmation#rule-5

#### Rule 6. Weak

Remove a confirmation that people accept almost every time, unless law or safety requires it.

- 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

Why: Microsoft's guide says so and gives a 98% figure without a source. The browser field test supports showing prompts less often.

Sources: [Confirmation Messages (Windows UX interaction guidelines)](https://learn.microsoft.com/cs-cz/windows/win32/uxguide/mess-confirm); [A Week to Remember: The Impact of Browser Warning Storage Policies](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45374.pdf)

Link: https://uxreference.com/dialogs/confirmation#rule-6

#### Rule 7. Weak

Offer "do not show again" only on routine confirmations, never on ones that guard serious actions.

- Applies when: People see the same confirmation repeatedly.
- Based on: Practitioner research
- Depends on: How often they do it
- Principle: Keep people in control

Why: One design guide.

Sources: [Confirmation Messages (Windows UX interaction guidelines)](https://learn.microsoft.com/cs-cz/windows/win32/uxguide/mess-confirm)

Link: https://uxreference.com/dialogs/confirmation#rule-7

#### Rule 8. Weak

Do not read a high rate of clicking through as proof that people are careless; many overrides are correct.

- Applies when: Judging a confirmation by how often it is accepted.
- Based on: Research
- Principle: Prevent errors

Why: 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.

Sources: [Systematic review of overridden clinical decision support alerts](https://www.pubmed.gov/32706721/); [A Week to Remember: The Impact of Browser Warning Storage Policies](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45374.pdf)

Link: https://uxreference.com/dialogs/confirmation#rule-8

## Accessibility requirements

- Dialog behavior and focus: see [Modal dialogs](https://uxreference.com/dialogs/modal) and [Focus management on open and close](https://uxreference.com/dialogs/focus-management).

## Common mistakes

- The same confirmation on every action.
- A second "Are you sure?" after the first.
- OK and Cancel on a question that does not say what OK does.
- Dark patterns that work against this entry's rules: [[Confirmshaming](https://uxreference.com/dark-patterns/confirmshaming)](../dark-patterns/[Confirmshaming](https://uxreference.com/dark-patterns/confirmshaming)).

## Still open

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

## Related problems

- [Confirming vs undoing a destructive action](https://uxreference.com/deleting/confirm-vs-undo): Act at once and offer undo. Ask “are you sure?” only when it truly cannot be undone and is rare.
- [Modal dialogs](https://uxreference.com/dialogs/modal): Use a modal only when people must respond before anything else, and only after their own action.
- [Focus management on open and close](https://uxreference.com/dialogs/focus-management): Move focus into a dialog when it opens, and back to the control that opened it when it closes.

## Sources

- [From Warning to Wallpaper: Why the Brain Habituates to Security Warnings and What Can Be Done About It](https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=2987&context=facpub). Bonnie Anderson, Anthony Vance, C. Brock Kirwan, Jeffrey L. Jenkins, David Eargle, 2016, fMRI experiment plus mouse-tracking experiment.
- [Tuning Out Security Warnings: A Longitudinal Examination of Habituation Through fMRI, Eye Tracking, and Field Experiments](https://misq.umn.edu/pub/skin/frontend/default/misq/pdf/V42I2/14124_RA_VanceJenkins.pdf). Anthony Vance, Jeffrey L. Jenkins, Bonnie Brinton Anderson, Daniel K. Bjornn, C. Brock Kirwan (MIS Quarterly 42(2)), 2018, two longitudinal experiments; lab fMRI plus eye tracking over 5 days; 3-week field experiment (15 weekdays), static vs polymorphic warnings.
- [Alice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41323.pdf). Devdatta Akhawe, Adrienne Porter Felt, 2013, field telemetry study (Chrome and Firefox).
- [A Week to Remember: The Impact of Browser Warning Storage Policies](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45374.pdf). Joel Weinberger, Adrienne Porter Felt (Google; SOUPS 2016), 2016, multi-month field experiment on Chrome HTTPS error warnings comparing six exception-storage policies, plus two surveys.
- [Experimenting At Scale With Google Chrome's SSL Warning](https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/41927.pdf). Adrienne Porter Felt, Hazim Almuhimedi, Sunny Consolvo, Robert W. Reeder (CMU and Google; CHI 2014), 2014, field A/B experiment on real browsing, six variant SSL warnings plus control, pseudorandom assignment.
- [How to Design Browser Security and Privacy Alerts](https://arxiv.org/pdf/1806.05426). Lynsay A. Shepherd, Karen Renaud (Abertay University), 2018, systematic literature review (2007-2017) with thematic analysis, then a proposed design template (AISB'18 symposium).
- [Your Attention Please: Designing security-decision UIs to make genuine risks harder to ignore](https://microsoft.com/en-us/research/wp-content/uploads/2016/02/a6_Bravo-Lillo.pdf). Cristian Bravo-Lillo, Lorrie Faith Cranor, Julie Downs, Saranga Komanduri, Robert W. Reeder, Stuart Schechter, Manya Sleeper, 2013, three between-subjects online experiments with a deceptive task.
- [Confirmation Dialogs Can Prevent User Errors - If Not Overused](https://www.nngroup.com/articles/confirmation-dialog/). Jakob Nielsen, Nielsen Norman Group, 2018, expert critique with examples.
- [Human Interface Guidelines - Alerts](https://developer.apple.com/design/human-interface-guidelines/alerts.md). Apple Inc., 2026, component documentation.
- [Confirmation Messages (Windows UX interaction guidelines)](https://learn.microsoft.com/cs-cz/windows/win32/uxguide/mess-confirm). Microsoft Learn (Win32 UX guide), 2025, component and pattern documentation; page says it was written for Windows 7 and not updated for later versions.
- [Systematic review of overridden clinical decision support alerts](https://www.pubmed.gov/32706721/). Tahmina Nasrin Poly, Md. Mohaimenul Islam, Hsuan-Chia Yang, Yu-Chuan (Jack) Li, 2020, systematic review, searches 2000 to March 2019.

---
From Solved Problems in UX by Athen Pellicci, an evidence-graded reference of web interface problems. CC BY 4.0. https://uxreference.com/
