Logo: add a11y
This commit is contained in:
parent
6c73766e0d
commit
e709b773b1
2 changed files with 4 additions and 3 deletions
|
@ -5,11 +5,11 @@
|
||||||
%ul.footer-logos
|
%ul.footer-logos
|
||||||
%li
|
%li
|
||||||
= link_to "http://www.gouvernement.fr/" do
|
= link_to "http://www.gouvernement.fr/" do
|
||||||
%span.footer-logo.footer-logo-rf
|
%span.footer-logo.footer-logo-rf{ role: 'img', 'aria-label': 'Logo du gouvernement' }
|
||||||
|
|
||||||
%li
|
%li
|
||||||
= link_to "https://beta.gouv.fr/" do
|
= link_to "https://beta.gouv.fr/" do
|
||||||
%span.footer-logo.footer-logo-beta-gouv-fr
|
%span.footer-logo.footer-logo-beta-gouv-fr{ role: 'img', 'aria-label': 'Logo de beta.gouv.fr' }
|
||||||
|
|
||||||
|
|
||||||
%li.footer-column
|
%li.footer-column
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
.accompagnateur-header
|
.accompagnateur-header
|
||||||
.container.flex
|
.container.flex
|
||||||
|
|
||||||
.procedure-logo{ style: @procedure.logo.present? ? "background-image: url(#{@procedure.logo.url})" : nil }
|
.procedure-logo{ style: @procedure.logo.present? ? "background-image: url(#{@procedure.logo.url})" : nil,
|
||||||
|
role: 'img', 'aria-label': "logo de la procédure #{@procedure.libelle}" }
|
||||||
|
|
||||||
.procedure-header
|
.procedure-header
|
||||||
%h1= @procedure.libelle
|
%h1= @procedure.libelle
|
||||||
|
|
Loading…
Reference in a new issue