Skip to content
Design System
GitHub

Alert dialog

v0.6.0Beta

Confirms an action that cannot be undone; the confirm names the consequence.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • alertdialog

Keyboard

KeysAction
EscCancel
TabShift+TabMove between the actions; Cancel has focus first

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.