diff options
| -rw-r--r-- | site/_includes/docs-sidebar.html | 2 | ||||
| -rw-r--r-- | site/_layouts/docs.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/site/_includes/docs-sidebar.html b/site/_includes/docs-sidebar.html index 4a41a5581..d2d47a57d 100644 --- a/site/_includes/docs-sidebar.html +++ b/site/_includes/docs-sidebar.html @@ -5,7 +5,7 @@ </button> </form> -<nav class="collapse bd-links" id="bd-docs-nav"> +<nav class="collapse bd-links" id="bd-docs-nav" aria-label="Main navigation"> {%- assign page_slug = page.url | split: '/' | last -%} {%- for group in site.data.nav -%} {%- assign link = group.pages | first -%} diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html index 1d2125508..cc4910c04 100644 --- a/site/_layouts/docs.html +++ b/site/_layouts/docs.html @@ -15,9 +15,9 @@ </div> {% if page.toc %} - <div class="d-none d-xl-block col-xl-2 bd-toc"> + <nav class="d-none d-xl-block col-xl-2 bd-toc" aria-label="Secondary navigation"> {{ content | toc_only }} - </div> + </nav> {% endif %} <main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main"> |
