Confirm Dialog

A modal dialog that gives a user the chance to confirm or cancel an action.
Screenshot of confirm dialog

Introduction

The confirm dialog pattern is a type of dialog that gives a user the chance to confirm or cancel an action.

The behaviour is similar to the JavaScript window.confirm() method.

Updated: May 20th, 2020

Working Examples

You can take a look at the confirm dialog pattern in action on our examples site.

Best Practices

The section is not yet available.

Interaction Design

This section provides interaction design for keyboard, screen reader & pointing devices.

Keyboard

Keyboard focus should be placed on the affirmative button (e.g. "Ok", "Yes", "Agree").

The rest of this section is not yet available.

Developer Guide

The section is not yet available.