feat(web): search bar keyboard accessibility (#11323)

* feat(web): search bar keyboard accessibility

* fix: adjust aria attributes

* fix: safari announcing the correct option count

* minor adjustments

- CircleIconButton disabled cursor
- more generic selection handler

* fix: more subtle border color in dark mode

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Ben
2024-07-26 17:45:15 -04:00
committed by GitHub
parent 86b3e3ee13
commit a78eeb9b9c
6 changed files with 237 additions and 89 deletions
@@ -230,7 +230,7 @@
<div class="fixed z-[100] top-0 left-0 w-full">
<ControlAppBar on:close={() => goto(previousRoute)} backIcon={mdiArrowLeft}>
<div class="w-full flex-1 pl-4">
<SearchBar grayTheme={false} searchQuery={terms} />
<SearchBar grayTheme={false} value={terms.query ?? ''} searchQuery={terms} />
</div>
</ControlAppBar>
</div>