From f4420c5f0dd7a4ea9dd3da8572ea4073a7275ee4 Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauri.eskola@acquia.com> Date: Wed, 27 Mar 2019 07:40:43 +0200 Subject: [PATCH] Issue #2920395 by izus, andrewmacpherson, starshaped, annajl, mradcliffe, NickWilde, mgifford: SystemBrandingBlock has identical anchor title and link content (image alt) --- .../system/templates/block--system-branding-block.html.twig | 2 +- .../components/branding/block--system-branding-block.html.twig | 2 +- .../bartik/templates/block--system-branding-block.html.twig | 2 +- .../templates/block/block--system-branding-block.html.twig | 2 +- .../templates/block/block--system-branding-block.html.twig | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/modules/system/templates/block--system-branding-block.html.twig b/core/modules/system/templates/block--system-branding-block.html.twig index 2a98687665ec..7c34e2d32f21 100644 --- a/core/modules/system/templates/block--system-branding-block.html.twig +++ b/core/modules/system/templates/block--system-branding-block.html.twig @@ -17,7 +17,7 @@ #} {% block content %} {% if site_logo %} - <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home"> + <a href="{{ path('<front>') }}" rel="home"> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> </a> {% endif %} diff --git a/core/profiles/demo_umami/themes/umami/templates/components/branding/block--system-branding-block.html.twig b/core/profiles/demo_umami/themes/umami/templates/components/branding/block--system-branding-block.html.twig index 6887b8b5e05a..a52385b5ff9e 100644 --- a/core/profiles/demo_umami/themes/umami/templates/components/branding/block--system-branding-block.html.twig +++ b/core/profiles/demo_umami/themes/umami/templates/components/branding/block--system-branding-block.html.twig @@ -15,7 +15,7 @@ #} {% block content %} {% if site_logo %} - <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo"> + <a href="{{ path('<front>') }}" rel="home" class="site-logo"> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> </a> {% endif %} diff --git a/core/themes/bartik/templates/block--system-branding-block.html.twig b/core/themes/bartik/templates/block--system-branding-block.html.twig index 9bf4f3d53c16..b490ccf60091 100644 --- a/core/themes/bartik/templates/block--system-branding-block.html.twig +++ b/core/themes/bartik/templates/block--system-branding-block.html.twig @@ -16,7 +16,7 @@ {% set attributes = attributes.addClass('site-branding') %} {% block content %} {% if site_logo %} - <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-branding__logo"> + <a href="{{ path('<front>') }}" rel="home" class="site-branding__logo"> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> </a> {% endif %} diff --git a/core/themes/classy/templates/block/block--system-branding-block.html.twig b/core/themes/classy/templates/block/block--system-branding-block.html.twig index 7c3b7dea1053..57e9570e525b 100644 --- a/core/themes/classy/templates/block/block--system-branding-block.html.twig +++ b/core/themes/classy/templates/block/block--system-branding-block.html.twig @@ -15,7 +15,7 @@ #} {% block content %} {% if site_logo %} - <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home" class="site-logo"> + <a href="{{ path('<front>') }}" rel="home" class="site-logo"> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> </a> {% endif %} diff --git a/core/themes/stable/templates/block/block--system-branding-block.html.twig b/core/themes/stable/templates/block/block--system-branding-block.html.twig index 186b36072be9..9604361dab06 100644 --- a/core/themes/stable/templates/block/block--system-branding-block.html.twig +++ b/core/themes/stable/templates/block/block--system-branding-block.html.twig @@ -15,7 +15,7 @@ #} {% block content %} {% if site_logo %} - <a href="{{ path('<front>') }}" title="{{ 'Home'|t }}" rel="home"> + <a href="{{ path('<front>') }}" rel="home"> <img src="{{ site_logo }}" alt="{{ 'Home'|t }}" /> </a> {% endif %} -- GitLab