Skip to content

Commit

Permalink
docs(skip links): use a nav tag with aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Oct 27, 2020
1 parent 998308a commit 3ea50d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/layouts/partials/skippy.html
@@ -1,9 +1,9 @@
<div class="skippy overflow-hidden">
<div class="container-xl">
<nav aria-label="Skip links" class="container-xl">
<a class="visually-hidden-focusable d-inline-flex p-2 m-1" href="#content">Skip to main content</a>

{{ if (eq .Page.Layout "docs") }}
<a class="visually-hidden-focusable d-none d-md-inline-flex p-2 m-1" href="#bd-docs-nav">Skip to docs navigation</a>
{{- end }}
</div>
</nav>
</div>

0 comments on commit 3ea50d0

Please sign in to comment.