Skip to content

Commit 08ac2a2

Browse files
committed
Wrap sidebar navigation in <nav> sectioning element
This will provide semantic context to the unordered navigation list. Ref: All page content must be contained by landmarks: https://dequeuniversity.com/rules/axe/4.1/region
1 parent b46f447 commit 08ac2a2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

includes/sidebar.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<a href="/{{ currentLanguage }}" class="h4-mktg text-white no-underline no-wrap pl-2 flex-auto">{% data ui.header.github_docs %}</a>
99
</div>
1010

11+
<nav>
1112
{% if error == '404' or page.relativePath == 'index.md' %}
1213
<ul class="sidebar-products mt-4">
1314
{% include sidebar-homepage %}
@@ -17,4 +18,5 @@
1718
{% include sidebar-specific-product %}
1819
</ul>
1920
{% endif %}
21+
</nav>
2022
</div>

0 commit comments

Comments
 (0)