Fix empty `aria-hidden` attribute value in logo resources area (#30570)

shrike
Matt Jankowski 2024-06-06 03:50:15 -04:00 committed by GitHub
parent e02d23b549
commit 2fdd782f21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -43,6 +43,6 @@
%body{ class: body_classes } %body{ class: body_classes }
= content_for?(:content) ? yield(:content) : yield = 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-icon.svg'
= inline_svg_tag 'logo-symbol-wordmark.svg' = inline_svg_tag 'logo-symbol-wordmark.svg'

View File

@ -20,5 +20,5 @@
%body.embed %body.embed
= yield = 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-icon.svg'