Skip to the page
Tactile UI Kit

Dialog

A decision that must be made now: a native dialog with a question, one sentence of consequence, a way back and the act.

Open it. Escape or “Keep it” closes it; focus returns to the key.

  • Native <dialog> with showModal(): focus moves in, is trapped, and returns to the opening key.
  • Name it with aria-labelledby pointing at the question.
  • Put the flat key first, so the safe choice is reached first.
Tactile UI Kit
Get the Founder Pass