From 3eeddcfcaccfb06760a748d8c2a22ac077fee2ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=CC=81bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Tue, 26 Feb 2019 16:37:13 +0100
Subject: [PATCH] Issue #2937639 by hotwebmatter, hiway, andrewmacpherson,
 markconroy, shaal, cehfisher, mgifford, kjay, Eli-T, kbeck303: Umami Theme -
 a11y context is needed for read more links

---
 .../umami/templates/content/node--card-common.html.twig       | 4 +++-
 .../themes/umami/templates/content/node--card.html.twig       | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig
index 129078c24914..f1b6a547cbbd 100644
--- a/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig
+++ b/core/profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig
@@ -94,7 +94,9 @@
   {{ title_suffix }}
 
   <div class="read-more">
-    <a class="read-more__link" href="{{ url }}">{% trans %}View {{ node.type.entity.label() }}{% endtrans %}</a>
+    <a class="read-more__link" href="{{ url }}">
+      {% trans %}View {{ node.type.entity.label() }}{% endtrans %} <span class="visually-hidden"> - {{ label }}</span>
+    </a>
   </div>
 
   <div{{ content_attributes.addClass('node__content') }}>
diff --git a/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig b/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig
index 8e8622d32cd0..4737ca221e3b 100644
--- a/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig
+++ b/core/profiles/demo_umami/themes/umami/templates/content/node--card.html.twig
@@ -95,7 +95,9 @@
   </div>
 
   <div class="read-more">
-    <a class="read-more__link" href="{{ url }}">{% trans %}View {{ node.type.entity.label() }}{% endtrans %}</a>
+    <a class="read-more__link" href="{{ url }}">
+      {% trans %}View {{ node.type.entity.label() }}{% endtrans %} <span class="visually-hidden"> - {{ label }}</span>
+    </a>
   </div>
 
 </article>
-- 
GitLab