Confirm Dialog

A lightbox dialog that prompts user to confirm or reject an action.
Screenshot of confirm dialog

Introduction

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

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

Updated: Oct 21st, 2020 (minor edits)

Working Examples

Experience the pattern in action on our companion eBay MIND Patterns examples website.

Examine the required markup structure on our Bones GitHub project.‚Äč

View a fully styled example on our eBay Skin website.

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.