Add label to icons carrying information

This commit is contained in:
Corinne Durrmeyer 2024-07-30 12:49:42 +02:00
parent 385277d5a0
commit e847e9263e
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

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