Skip to content

Commit

Permalink
fix(header): define an aria-label on the input search button for acce…
Browse files Browse the repository at this point in the history
…ssibility
  • Loading branch information
m-maillot committed Sep 16, 2024
1 parent caee6c1 commit 6495ff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ export const Header = memo(
<div
className={fr.cx("fr-header__search", "fr-modal")}
id={searchModalId}
aria-labelledby={`${id}-search-bar-button`}
>
<div
className={fr.cx(
Expand Down

0 comments on commit 6495ff2

Please sign in to comment.