Skip to content

Commit c87df34

Browse files
author
Trystan EVENO
committed
fix (DsfrHeader): 🐛 ajoute un texte cachĂ© pour le bouton de recherche
1 parent 031c0cc commit c87df34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/components/DsfrHeader/DsfrHeader.vue‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ provide(registerNavigationLinkKey, () => {
152152
:title="showSearchLabel"
153153
:data-fr-opened="searchModalOpened"
154154
@click.prevent.stop="showSearchModal()"
155-
/>
155+
>
156+
<span class="fr-sr-only">
157+
{{ showSearchLabel }}
158+
</span>
159+
</button>
156160
<button
157161
v-if="isWithSlotNav || quickLinks?.length"
158162
id="button-menu"

0 commit comments

Comments
 (0)