remove aria-label attribute burger menu

This commit is contained in:
Julie Salha 2023-02-07 10:31:57 +01:00
parent f40ab98fde
commit cf99c0450d
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 } = render partial: 'layouts/search_dossiers_form', locals: { search_endpoint: recherche_dossiers_path }
- has_header = [is_instructeur_context, is_expert_context, is_user_context] - 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 .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]) %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 .fr-header__menu-links

View file

@ -68,7 +68,6 @@ en:
are_you_new: First time on %{app_name}? are_you_new: First time on %{app_name}?
my_account: My account my_account: My account
header: header:
label_modal: "Burger menu"
close_modal: 'Close' close_modal: 'Close'
back: "Back" back: "Back"
back_title: "Revenir sur le site de mon administration" 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} ? are_you_new: Vous êtes nouveau sur %{app_name} ?
my_account: Mon compte my_account: Mon compte
header: header:
label_modal: "Menu en-tête de page"
close_modal: 'Fermer' close_modal: 'Fermer'
back: "Revenir en arrière" back: "Revenir en arrière"
back_title: "Revenir sur le site de mon administration" back_title: "Revenir sur le site de mon administration"