We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f54b1f commit 6910034Copy full SHA for 6910034
src/Header/Header.tsx
@@ -148,6 +148,7 @@ export const Header = memo(
148
const menuButtonId = `${id}-menu-button`;
149
const searchModalId = `${id}-search-modal`;
150
const searchInputId = `${id}-search-input`;
151
+ const searchLabelId = `${id}-search-label`;
152
153
const isSearchBarEnabled =
154
renderSearchInput !== undefined || onSearchButtonClick !== undefined;
@@ -393,6 +394,7 @@ export const Header = memo(
393
394
<label
395
className={fr.cx("fr-label")}
396
htmlFor={searchInputId}
397
+ id={searchLabelId}
398
>
399
{tSearchBar("label")}
400
</label>
0 commit comments