Skip to content

Commit

Permalink
Removed nested main elements on specific products
Browse files Browse the repository at this point in the history
Main landmark must not be contained in another landmark

https://dequeuniversity.com/rules/axe/4.1/landmark-main-is-top-level
  • Loading branch information
barrymcgee committed Jan 8, 2021
1 parent 3b4232f commit 85d20a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/article.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<main class="container-xl px-3 px-md-6 my-4 my-lg-4 d-xl-flex">
<div class="container-xl px-3 px-md-6 my-4 my-lg-4 d-xl-flex">
<article class="markdown-body width-full">
<div class="d-lg-flex flex-justify-between">
<div class="d-block d-lg-none">{% include article-version-switcher %}</div>
Expand Down Expand Up @@ -70,4 +70,4 @@ <h2 id="in-this-article" class="f5 mb-2"><a class="link-gray-dark" href="#in-thi
{% unless page.hidden %}{% include contribution %}{% endunless %}
</div>
</article>
</main>
</div>

0 comments on commit 85d20a3

Please sign in to comment.