diff options
| author | Fuwn <[email protected]> | 2026-05-15 09:51:50 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-15 09:51:50 +0000 |
| commit | d892961db82f34add347240ab244b5e8a2715a53 (patch) | |
| tree | 037883ee0a4f81ef8c7711c90cabb58eee90b041 /src/lib/Utility/privilegedUser.ts | |
| parent | style(a11y): drop redundant border-radius from Dropdown focus rule (diff) | |
| download | due.moe-d892961db82f34add347240ab244b5e8a2715a53.tar.xz due.moe-d892961db82f34add347240ab244b5e8a2715a53.zip | |
fix(a11y): give CommandPalette real dialog and combobox semantics
Wrap the palette in role=dialog with aria-modal, mark the overlay
aria-hidden, and turn the search input into a labeled combobox driving
a listbox of role=option results via aria-activedescendant. Trap Tab on
the input, preventDefault on Escape, and restore focus to the
previously-focused element when the palette closes.
Diffstat (limited to 'src/lib/Utility/privilegedUser.ts')
0 files changed, 0 insertions, 0 deletions