Skip to content
Snippets Groups Projects
Commit ed82b95e authored by Jess's avatar Jess
Browse files

Issue #2784311 by Jmdrawneek@googlemail.com, mgifford, andrewmacpherson, xjm,...

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
parent 4b3ea191
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -60,8 +60,7 @@
{{ page.help }}
<main role="main">
<a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}
<main id="main-content" role="main" tabindex="-1">{# link is in html.html.twig #}
<div class="layout-content">
{{ page.content }}
......
......@@ -32,9 +32,8 @@
</header>
<div id="main-wrapper">
<div id="main" class="clearfix">
<main id="content" class="column" role="main">
<section class="section">
<a id="main-content"></a>
<main id="content" class="column" role="main" tabindex="-1">
<section class="section" id="main-content">
{% if title %}
<h1 class="title" id="page-title">{{ title }}</h1>
{% endif %}
......
......@@ -76,9 +76,8 @@
<div id="main-wrapper" class="layout-main-wrapper layout-container clearfix">
<div id="main" class="layout-main clearfix">
{{ page.breadcrumb }}
<main id="content" class="column main-content" role="main">
<section class="section">
<a id="main-content" tabindex="-1"></a>
<main id="content" class="column main-content" role="main" tabindex="-1">
<section class="section" id="main-content">
{{ page.content }}
</section>
</main>
......
......@@ -48,8 +48,7 @@
<div class="layout-container">
{{ page.pre_content }}
{{ page.breadcrumb }}
<main class="page-content clearfix" role="main">
<div class="visually-hidden"><a id="main-content" tabindex="-1"></a></div>
<main class="page-content clearfix" id="main-content" role="main" tabindex="-1">
{{ page.highlighted }}
{% if page.help %}
<div class="help">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment