From e847e9263e22f042861c8279b7645d6b930224e0 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Tue, 30 Jul 2024 12:49:42 +0200 Subject: [PATCH] Add label to icons carrying information --- .../shared/help/dropdown_items/_service_item.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/help/dropdown_items/_service_item.html.haml b/app/views/shared/help/dropdown_items/_service_item.html.haml index 208601f51..9ae6e458c 100644 --- a/app/views/shared/help/dropdown_items/_service_item.html.haml +++ b/app/views/shared/help/dropdown_items/_service_item.html.haml @@ -4,11 +4,11 @@ .help-dropdown-service-action %p.fr-text--sm= t('help_dropdown.contact_administration') %p.fr-text--sm.help-dropdown-service-item - %span.fr-icon-mail-fill.fr-icon--sm{ "aria-hidden": "true" } + %span.fr-icon-mail-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_email') } = link_to service.email, "mailto:#{service.email}", role: 'menuitem' %p.fr-text--sm - %span.fr-icon-phone-fill.fr-icon--sm{ "aria-hidden": "true" } + %span.fr-icon-phone-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.by_phone') } = link_to service.telephone, service.telephone_url, role: 'menuitem' %p.fr-text--sm - %span.fr-icon-time-fill.fr-icon--sm{ "aria-hidden": "true" } + %span.fr-icon-time-fill.fr-icon--sm{ "aria-label": t('layouts.mailers.service_footer.schedule') } = service.horaires