Reported in #14373.
Repro: https://github.com/alexpghayes/quarto-accessibility-reprex
axe rule: landmark-unique · impact: moderate · tag: best-practice
Targets: <nav class="navbar navbar-expand-lg">, #quarto-sidebar
The top navbar and the on-page sidebar are both <nav> landmarks without any aria-label. Assistive tech sees two unlabelled navigation regions and cannot distinguish them. Same for the right-hand #quarto-margin-sidebar if surfaced as a <nav>. Each navigation landmark should carry a distinguishing aria-label (e.g. "Site" for the top navbar, "On this page" for the page-local sidebar).
Part of #8706.
Reported in #14373.
Repro: https://github.com/alexpghayes/quarto-accessibility-reprex
axe rule:
landmark-unique· impact: moderate · tag: best-practiceTargets:
<nav class="navbar navbar-expand-lg">,#quarto-sidebarThe top navbar and the on-page sidebar are both
<nav>landmarks without anyaria-label. Assistive tech sees two unlabelled navigation regions and cannot distinguish them. Same for the right-hand#quarto-margin-sidebarif surfaced as a<nav>. Each navigation landmark should carry a distinguishingaria-label(e.g."Site"for the top navbar,"On this page"for the page-local sidebar).Part of #8706.