Remove alt content from illustrative images

This commit is contained in:
Corinne Durrmeyer 2024-08-12 11:20:45 +02:00
parent 35e5d1849e
commit 2885a25aba
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
5 changed files with 5 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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 deffectuer 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 dactivation</strong> dans le message que vous avez reçu."
email_missing: "Si vous navez pas reçu notre message (avez-vous vérifié les indésirables ?), nous pouvons vous le renvoyer."
resent: 'Renvoyer un email de confirmation'