Skip to content

Commit

Permalink
add aria-expanded for navbar search toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
carylwyatt committed Jun 17, 2024
1 parent 8506228 commit 7307505
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 7307505

Please sign in to comment.