Skip to content

Docusaurus: multiple nav landmarks need labels.  #90

Open
@7mary4

Description

@7mary4

Expected Behavior

People using the landmarks navigation should know the difference between multiple navigation landmarks. This is done with the aria-label attribute.

Current Behavior

The tutorial outline has an aria-label, but not the main navigation

Steps to reproduce

Please provide detailed steps for reproducing the issue.

  1. load page
  2. run Axe or similar test
  3. there should be no errors for duplicate/unlabeled landmarks

Suggested code update

<nav class="navbar navbar--fixed-top" aria-label="Main">
It would be good to update the outline label
Current
<nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation">
Updated
<nav class="pagination-nav docusaurus-mt-lg" aria-label="Tutorial pages">

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions