Skip to content

Commit

Permalink
Fix a11y keyboard access to docs navigation (twbs#36340)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <[email protected]>
  • Loading branch information
julien-deramond and XhmikosR authored May 13, 2022
1 parent 5f8383a commit 8d016c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/layouts/partials/docs-sidebar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="bd-links w-100">
<nav class="bd-links w-100" id="bd-docs-nav" aria-label="Docs navigation">
{{- $url := split .Permalink "/" -}}
{{- $page_slug := index $url (sub (len $url) 2) -}}

Expand Down

0 comments on commit 8d016c6

Please sign in to comment.