Remove alt content from illustrative images
This commit is contained in:
parent
35e5d1849e
commit
2885a25aba
5 changed files with 5 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
.fr-col-12.fr-col-md-6.fr-col-offset-md-3
|
||||
%h1.fr-mt-6w.fr-h2.center= t('.confirmation_sent_by_email')
|
||||
|
||||
%p.center{ aria: { hidden: true } }= image_tag("user/confirmation-email.svg", alt: t('views.confirmation.new.image_alt'))
|
||||
%p.center= image_tag("user/confirmation-email.svg", alt: '')
|
||||
|
||||
= render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c|
|
||||
- c.with_body do
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
%h1.fr-mt-6w.fr-h2.center
|
||||
= t('views.confirmation.new.title')
|
||||
|
||||
%p.center{ aria: { hidden: true } }= image_tag("user/confirmation-email.svg", alt: t('views.confirmation.new.image_alt'))
|
||||
%p.center= image_tag("user/confirmation-email.svg", alt: '')
|
||||
|
||||
= render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c|
|
||||
- c.with_body do
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
%h1.fr-mt-6w.fr-h2.center
|
||||
= t('views.confirmation.new.title')
|
||||
|
||||
%p.center{ aria: { hidden: true } }= image_tag("user/confirmation-email.svg", alt: t('views.confirmation.new.image_alt'))
|
||||
%p.center= image_tag("user/confirmation-email.svg", alt: '')
|
||||
|
||||
= render Dsfr::AlertComponent.new(title: '', state: :info, heading_level: 'h2', extra_class_names: 'fr-mt-6w fr-mb-3w') do |c|
|
||||
- c.with_body do
|
||||
|
|
|
@ -314,8 +314,7 @@ en:
|
|||
confirmation:
|
||||
new:
|
||||
title: 'Confirm your email address'
|
||||
image_alt: "Email sent"
|
||||
email_cta_html: "Before proceeding, we have to validate your email address <strong>%{email}</strong>."
|
||||
email_cta_html: "Before filling your file, we have to validate your email address <strong>%{email}</strong>."
|
||||
email_guidelines_html: "Open your mailbox and <strong>click on the activation link</strong> within the mail we just sent you."
|
||||
email_missing: "If you have not received our email (have you checked your spam ?), we can resend it."
|
||||
resent: 'Resend the confirmation email'
|
||||
|
|
|
@ -306,8 +306,7 @@ fr:
|
|||
confirmation:
|
||||
new:
|
||||
title: 'Confirmez votre adresse email'
|
||||
image_alt: "Email envoyé"
|
||||
email_cta_html: "Avant de pouvoir continuer, nous avons besoin de vérifier votre adresse électronique <strong>%{email}</strong>."
|
||||
email_cta_html: "Avant d’effectuer votre démarche, nous avons besoin de vérifier votre adresse électronique <strong>%{email}</strong>."
|
||||
email_guidelines_html: "Ouvrez votre boîte email, et <strong>cliquez sur le lien d’activation</strong> dans le message que vous avez reçu."
|
||||
email_missing: "Si vous n’avez pas reçu notre message (avez-vous vérifié les indésirables ?), nous pouvons vous le renvoyer."
|
||||
resent: 'Renvoyer un email de confirmation'
|
||||
|
|
Loading…
Reference in a new issue