Skip to content

Commit

Permalink
Merge pull request #85 from hathitrust/DEV-1174-navbar-search-expand
Browse files Browse the repository at this point in the history
DEV-1174: add aria-expanded for navbar search toggle
  • Loading branch information
carylwyatt authored Jun 21, 2024
2 parents 8506228 + 7307505 commit 15b7275
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/components/Navbar/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@
class:search-active={searchOpen}
href="#"
role="button"
aria-expanded={searchOpen}
on:click|preventDefault|stopPropagation={toggleSearch}
>Search <i class="fa-solid fa-magnifying-glass fa-fw" /></a
>
Expand Down

0 comments on commit 15b7275

Please sign in to comment.