Skip to content

Commit

Permalink
Merge pull request #309 from m-maillot/fix/accessible-error
Browse files Browse the repository at this point in the history
fix(header): define an aria-label on the input search button for accessibility
  • Loading branch information
garronej authored Sep 16, 2024
2 parents 1a065b5 + 6495ff2 commit cfd4b33
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 cfd4b33

Please sign in to comment.