From a451088077b993526eaaf8b7999f1f98f0a830b7 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Fri, 20 Sep 2024 17:13:55 +0200 Subject: [PATCH] Fix rendering bug in Voice Over --- app/views/layouts/commencer/_no_procedure.html.haml | 2 +- app/views/root/landing.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/commencer/_no_procedure.html.haml b/app/views/layouts/commencer/_no_procedure.html.haml index 7dbb9621b..ea58dcfe2 100644 --- a/app/views/layouts/commencer/_no_procedure.html.haml +++ b/app/views/layouts/commencer/_no_procedure.html.haml @@ -1,5 +1,5 @@ .center - = image_tag "landing/hero/dematerialiser.svg", class: "fr-responsive-img fr-mb-1v", alt: "" + = image_tag "landing/hero/dematerialiser.svg", class: "fr-responsive-img fr-mb-1v", alt: "", "aria-hidden": "true" %p.fr-m-4w= t('.text') %hr %p= t('.are_you_new', app_name: Current.application_name) diff --git a/app/views/root/landing.html.haml b/app/views/root/landing.html.haml index 295059499..18e879622 100644 --- a/app/views/root/landing.html.haml +++ b/app/views/root/landing.html.haml @@ -11,7 +11,7 @@ = t(".promise") .hero-illustration - %img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy' } + %img{ :src => image_url("landing/hero/dematerialiser.svg"), alt: '', width: 499, height: 280, loading: 'lazy', 'aria-hidden': 'true' } .fr-background-alt--blue-france.fr-py-6w .container