aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2022-05-13 18:28:55 +0200
committerGitHub <[email protected]>2022-05-13 19:28:55 +0300
commit8d016c6cf9146dff0fed6bff5528bb7d8aced931 (patch)
tree1bbded6a6c82b46659c6ba14536357ee38d9979c /site
parent5f8383a136fcde6145144ac4bb56e93fc0011488 (diff)
downloadbootstrap-8d016c6cf9146dff0fed6bff5528bb7d8aced931.tar.xz
bootstrap-8d016c6cf9146dff0fed6bff5528bb7d8aced931.zip
Fix a11y keyboard access to docs navigation (#36340)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site')
-rw-r--r--site/layouts/partials/docs-sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/docs-sidebar.html b/site/layouts/partials/docs-sidebar.html
index 3ffe9f4d4..e7b557687 100644
--- a/site/layouts/partials/docs-sidebar.html
+++ b/site/layouts/partials/docs-sidebar.html
@@ -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) -}}