accessibility / HTML dialog / focus
Review HTML dialog focus return
Review dialog open, close, Escape, focus return and inert background behavior with fixed cases. Existing application dialogs and external settings are not changed.
accessibility / HTML dialog / focus
Review dialog open, close, Escape, focus return and inert background behavior with fixed cases. Existing application dialogs and external settings are not changed.
A dialog can look open while leaving keyboard users without a clear focus return. Separate the contract points before implementation.
| Case | Review | Decision |
|---|---|---|
| open-focus-entry | focus after open | move to the first control |
| close-focus-return | focus after close | return to the trigger |
| escape-cancel | Escape / cancel | close and restore return target |
| inert-background | background while modal | remove it from interaction |
| missing-return | missing return target | decide before implementation |
This page uses fixed cases and one local dialog only. It accepts no user data and changes no application setting.