summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-07-07 10:28:35 (GMT)
committerAlex Pott2014-07-07 10:28:35 (GMT)
commit8e07c22cebd5b6322ed84d4d51751e35f9a01f57 (patch)
tree4f4d9e8b74492761ccf4ed8e7bf08755db008534
parent0a4ecfdc5de8536acb6d746338969fcbf30d3269 (diff)
Issue #1529814 by mgifford, JohnAlbin, ibullock, dcmouyard, mark.labrecque, andrewmacpherson, vegantriathlete: Fixed skiplink behavior for Webkit browsers.
-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 %}