Merge pull request #8608 from demarches-simplifiees/a11y-8204-burger-menu

a11y : optimization burger menu dsfr Closes #8608
This commit is contained in:
Julie Salha 2023-02-14 11:18:31 +01:00 committed by GitHub
commit 6b70fd6af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"