File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ const showMenu = () => {
8080 // Sans le setTimeout, le focus n'est pas fait
8181 setTimeout (() => {
8282 document .getElementById (' close-button' )?.focus ()
83- })
83+ }, 50 )
8484}
8585const showSearchModal = () => {
8686 modalOpened .value = true
@@ -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"
@@ -164,7 +168,11 @@ provide(registerNavigationLinkKey, () => {
164168 :title =" menuLabel"
165169 data-testid =" open-menu-btn"
166170 @click.prevent.stop =" showMenu()"
167- />
171+ >
172+ <span class =" fr-sr-only" >
173+ {{ menuLabel }}
174+ </span >
175+ </button >
168176 </div >
169177 </div >
170178 <div
You can’t perform that action at this time.
0 commit comments