From 3962c24892acf124bfb5ff972f3732aa430eff49 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Mon, 5 Aug 2024 17:19:11 +0200 Subject: [PATCH] Empty alt attribute for decorative images --- app/views/shared/_procedure_description.html.haml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/shared/_procedure_description.html.haml b/app/views/shared/_procedure_description.html.haml index e1cce58eb..82a0c2ba9 100644 --- a/app/views/shared/_procedure_description.html.haml +++ b/app/views/shared/_procedure_description.html.haml @@ -1,8 +1,5 @@ .procedure-logos - - procedure_logo_alt = '' - - if procedure.service.present? - - procedure_logo_alt = "#{procedure.service.nom} − #{procedure.service.organisme}" - = image_tag procedure.logo_url, alt: procedure_logo_alt + = image_tag procedure.logo_url, alt: '' - if procedure.euro_flag = image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : "")) %h1.fr-h2