Merge pull request #8565 from demarches-simplifiees/a11y-8204-burger-menu
optimization burger menu
This commit is contained in:
commit
0f6203190f
3 changed files with 3 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
|||
= render partial: 'layouts/search_dossiers_form', locals: { search_endpoint: recherche_dossiers_path }
|
||||
|
||||
- has_header = [is_instructeur_context, is_expert_context, is_user_context]
|
||||
#burger-menu.fr-header__menu.fr-modal{ "aria-labelledby" => "burger_button" }
|
||||
#burger-menu.fr-header__menu.fr-modal{ "aria-label" => t('layouts.header.label_modal') }
|
||||
.fr-container
|
||||
%button#burger_button.fr-btn--close.fr-btn{ "aria-controls" => "burger-menu", :title => t('close_modal', scope: [:layouts, :header]) }= t('close_modal', scope: [:layouts, :header])
|
||||
.fr-header__menu-links
|
||||
|
|
|
@ -68,6 +68,7 @@ en:
|
|||
are_you_new: First time on %{app_name}?
|
||||
my_account: My account
|
||||
header:
|
||||
label_modal: "Burger menu"
|
||||
close_modal: 'Close'
|
||||
back: "Back"
|
||||
back_title: "Revenir sur le site de mon administration"
|
||||
|
|
|
@ -59,6 +59,7 @@ fr:
|
|||
are_you_new: Vous êtes nouveau sur %{app_name} ?
|
||||
my_account: Mon compte
|
||||
header:
|
||||
label_modal: "Menu en-tête de page"
|
||||
close_modal: 'Fermer'
|
||||
back: "Revenir en arrière"
|
||||
back_title: "Revenir sur le site de mon administration"
|
||||
|
|
Loading…
Reference in a new issue