Dialog
Focus on a specific action or detail.
alpina-ui/interactive/dialogBellinzona · A3 series
Print proof
Neighbourhood poster
Revision 03 · 80 copies · 2 colours
Awaiting review
Usage notes
Name the dialog and provide an explicit close action. Opening locks background scrolling. Escape closes it and restores focus to its trigger.
When to use
Interrupt the current view for a focused edit that can be completed or cancelled without navigating away.
When to avoid
An optional note belongs in a disclosure. A broad multi-step process benefits from a dedicated page.
Accessibility
Give the dialog a title and a named close control. On dismiss, return focus to a meaningful place in the invoking view.
| Key | Action |
|---|---|
| Enter / Space | Open from the trigger or activate a focused action. |
| Tab / Shift+Tab | Traverse focusable controls inside the open modal. |
| Escape | Close the modal and return focus to its opener. |
Content
Name the specific task in the title. Use a short action on each button and a sentence for any explanation.
- Use
- Edit delivery address / Save address
- Avoid
- Dialog / OK
Copy in four languages
- German
- Lieferadresse bearbeiten24 characters
- French
- Modifier l’adresse de livraison31 characters
- Italian
- Modifica indirizzo di consegna30 characters
- Romansh
- Modifitgar l’adressa da furniziun33 characters
npx --no-install alpina add dialog