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:
commit
c576b457ff
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue