From 2fdd782f21a0d07b5c658c0e0f467c5b5622988a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 6 Jun 2024 03:50:15 -0400 Subject: [PATCH] Fix empty `aria-hidden` attribute value in logo resources area (#30570) --- app/views/layouts/application.html.haml | 2 +- app/views/layouts/embedded.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 5957d1dbf..ec6caa33a 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -43,6 +43,6 @@ %body{ class: body_classes } = content_for?(:content) ? yield(:content) : yield - .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => true } + .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => 'true' } = inline_svg_tag 'logo-symbol-icon.svg' = inline_svg_tag 'logo-symbol-wordmark.svg' diff --git a/app/views/layouts/embedded.html.haml b/app/views/layouts/embedded.html.haml index c633fa9e0..f912b3faf 100644 --- a/app/views/layouts/embedded.html.haml +++ b/app/views/layouts/embedded.html.haml @@ -20,5 +20,5 @@ %body.embed = yield - .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => true } + .logo-resources{ 'tabindex' => '-1', 'inert' => true, 'aria-hidden' => 'true' } = inline_svg_tag 'logo-symbol-icon.svg'