From e7f763227864158b5d3529fab7dcb6333a13a046 Mon Sep 17 00:00:00 2001 From: Jaime Iniesta Date: Wed, 18 Mar 2020 17:19:04 +0100 Subject: [PATCH] Added aria-label to all nav items to improve accessibility. (#1516) This ensures navigation landmarks are unique. Related: https://dequeuniversity.com/rules/axe/3.5/landmark-unique?application=rocketvalidator https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html --- src/partials/footer.html | 2 +- src/partials/header.html | 2 +- src/partials/language/en.html | 7 ++++++- src/partials/language/es.html | 7 ++++++- src/partials/nav-item.html | 2 +- src/partials/nav.html | 2 +- src/partials/search.html | 3 +-- src/partials/tabs.html | 2 +- src/partials/toc-item.html | 2 +- src/partials/toc.html | 2 +- 10 files changed, 20 insertions(+), 11 deletions(-) diff --git a/src/partials/footer.html b/src/partials/footer.html index 22ca621a6..cc4e75a4b 100644 --- a/src/partials/footer.html +++ b/src/partials/footer.html @@ -28,7 +28,7 @@ {% if page.previous_page or page.next_page %}