summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/modules/system/templates/page.html.twig2
-rw-r--r--core/themes/bartik/templates/page.html.twig2
-rw-r--r--core/themes/seven/templates/page.html.twig2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/system/templates/page.html.twig b/core/modules/system/templates/page.html.twig
index d24e33c..ba013a2 100644
--- a/core/modules/system/templates/page.html.twig
+++ b/core/modules/system/templates/page.html.twig
@@ -109,7 +109,7 @@
{{ page.help }}
<main role="main">
- <a id="main-content"></a>{# link is in html.html.twig #}
+ <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<div class="layout-content">
{{ page.highlighted }}
diff --git a/core/themes/bartik/templates/page.html.twig b/core/themes/bartik/templates/page.html.twig
index 8c739bb..2456642 100644
--- a/core/themes/bartik/templates/page.html.twig
+++ b/core/themes/bartik/templates/page.html.twig
@@ -147,7 +147,7 @@
<main id="content" class="column" role="main"><section class="section">
{% if page.highlighted %}<div id="highlighted">{{ page.highlighted }}</div>{% endif %}
- <a id="main-content"></a>
+ <a id="main-content" tabindex="-1"></a>
{{ title_prefix }}
{% if title %}
<h1 class="title" id="page-title">
diff --git a/core/themes/seven/templates/page.html.twig b/core/themes/seven/templates/page.html.twig
index 3db4f44..4a74739 100644
--- a/core/themes/seven/templates/page.html.twig
+++ b/core/themes/seven/templates/page.html.twig
@@ -84,7 +84,7 @@
{{ breadcrumb }}
<main id="content" class="clearfix" role="main">
- <div class="visually-hidden"><a id="main-content"></a></div>
+ <div class="visually-hidden"><a id="main-content" tabindex="-1"></a></div>
{% if messages %}
<div id="console" class="clearfix">{{ messages }}</div>
{% endif %}