fix(rgaa/layout): invalid button > label

This commit is contained in:
Colin Darie 2022-08-30 12:40:29 +02:00
parent 69fe333aad
commit aab3e3a4be
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
.dropdown.header-menu-opener{ data: { controller: 'menu-button' } } .dropdown.header-menu-opener{ data: { controller: 'menu-button' } }
%button.button.dropdown-button.icon-only.header-menu-button{ title: "Mon compte", data: { menu_button_target: 'button' } } %button.button.dropdown-button.icon-only.header-menu-button{ title: "Mon compte", data: { menu_button_target: 'button' } }
.hidden Mon compte %span.hidden= t("my_account", scope: [:layouts])
= image_tag "icons/account-circle.svg", alt: 'Mon compte', width: 24, height: 24, loading: 'lazy' = image_tag "icons/account-circle.svg", alt: 'Mon compte', width: 24, height: 24, loading: 'lazy'
%ul.header-menu.dropdown-content#mon_compte_menu{ data: { menu_button_target: 'menu' } } %ul.header-menu.dropdown-content#mon_compte_menu{ data: { menu_button_target: 'menu' } }
%li %li

View file

@ -65,6 +65,7 @@ en:
line2: to manage dematerialized line2: to manage dematerialized
line3: administrative forms. line3: administrative forms.
are_you_new: First time on %{app_name}? are_you_new: First time on %{app_name}?
my_account: My account
locale_dropdown: locale_dropdown:
languages: "Languages" languages: "Languages"
notifications: notifications:

View file

@ -55,6 +55,7 @@ fr:
line2: pour gérer les formulaires line2: pour gérer les formulaires
line3: administratifs dématérialisés. line3: administratifs dématérialisés.
are_you_new: Vous êtes nouveau sur %{app_name} ? are_you_new: Vous êtes nouveau sur %{app_name} ?
my_account: Mon compte
locale_dropdown: locale_dropdown:
languages: "Langues" languages: "Langues"
notifications: notifications: