Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
Move focus into the dialog, keep it trapped there, close on Escape, give it a role and accessible name, hide the background from assistive technology, and return focus to the trigger on close.
When the dialog opens, focus should move to it or its first meaningful control so keyboard users are not left behind on the page. Tab should cycle within the dialog, and Escape should close it. The container needs role="dialog" with aria-modal="true" and an accessible name through aria-labelledby. Content behind it should be made inert. When it closes, focus returns to the element that opened it. The native