diff --git a/app/views/layouts/_header.haml b/app/views/layouts/_header.haml index e7916f90e..41c23b0e5 100644 --- a/app/views/layouts/_header.haml +++ b/app/views/layouts/_header.haml @@ -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-label" => t('layouts.header.label_modal') } + #burger-menu.fr-header__menu.fr-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 diff --git a/config/locales/en.yml b/config/locales/en.yml index c9f4af19e..d1a6b9638 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -68,7 +68,6 @@ 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" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index b530475fc..13aa78315 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -59,7 +59,6 @@ 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"