Commit 0f844785 authored by xjm's avatar xjm

Revert "Issue #2784311 by Jmdrawneek@googlemail.com, mgifford,...

Revert "Issue #2784311 by Jmdrawneek@googlemail.com, mgifford, andrewmacpherson, xjm, Cottser, tim.plunkett, dman, DomoSapiens: Skip to main content should link to main tag or similar"

This reverts commit ed82b95e.
parent bbd96cc9
...@@ -60,7 +60,8 @@ ...@@ -60,7 +60,8 @@
{{ page.help }} {{ page.help }}
<main id="main-content" role="main" tabindex="-1">{# link is in html.html.twig #} <main role="main">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<div class="layout-content"> <div class="layout-content">
{{ page.content }} {{ page.content }}
......
...@@ -32,8 +32,9 @@ ...@@ -32,8 +32,9 @@
</header> </header>
<div id="main-wrapper"> <div id="main-wrapper">
<div id="main" class="clearfix"> <div id="main" class="clearfix">
<main id="content" class="column" role="main" tabindex="-1"> <main id="content" class="column" role="main">
<section class="section" id="main-content"> <section class="section">
<a id="main-content"></a>
{% if title %} {% if title %}
<h1 class="title" id="page-title">{{ title }}</h1> <h1 class="title" id="page-title">{{ title }}</h1>
{% endif %} {% endif %}
......
...@@ -76,8 +76,9 @@ ...@@ -76,8 +76,9 @@
<div id="main-wrapper" class="layout-main-wrapper layout-container clearfix"> <div id="main-wrapper" class="layout-main-wrapper layout-container clearfix">
<div id="main" class="layout-main clearfix"> <div id="main" class="layout-main clearfix">
{{ page.breadcrumb }} {{ page.breadcrumb }}
<main id="content" class="column main-content" role="main" tabindex="-1"> <main id="content" class="column main-content" role="main">
<section class="section" id="main-content"> <section class="section">
<a id="main-content" tabindex="-1"></a>
{{ page.content }} {{ page.content }}
</section> </section>
</main> </main>
......
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
<div class="layout-container"> <div class="layout-container">
{{ page.pre_content }} {{ page.pre_content }}
{{ page.breadcrumb }} {{ page.breadcrumb }}
<main class="page-content clearfix" id="main-content" role="main" tabindex="-1"> <main class="page-content clearfix" role="main">
<div class="visually-hidden"><a id="main-content" tabindex="-1"></a></div>
{{ page.highlighted }} {{ page.highlighted }}
{% if page.help %} {% if page.help %}
<div class="help"> <div class="help">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment