Merge pull request #5166 from betagouv/better-alt-procedure

Usager : le service administratif de la démarche est maintenant accessible aux lecteurs d'écrans
This commit is contained in:
Pierre de La Morinerie 2020-05-18 14:33:16 +02:00 committed by GitHub
commit c576b457ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,8 @@
.procedure-logos
= image_tag procedure.logo_url, alt: "logo #{procedure.libelle}"
- 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
- if procedure.euro_flag
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
%h1.procedure-title