Skip to content

Rustdoc doesn't have "Skip Navigation" links #151420

@JayanAXHF

Description

@JayanAXHF

Problem Synopsis

Skip navigation links allow users using keyboard navigation (i.e. the Tab key) to be able to skip long repeated sections and get directly to the main content. Currently, while using Tab navigation, one has to get past the entire left contents bar, before being able to access the main content (see video demo below). WCAG Success Criterion 2.4.1 (Level A) states

A mechanism is available to bypass blocks of content that are repeated on multiple web pages.

This feature is currently missing within rustdoc, making keyboard navigation a pain to work with on large crates.

Useful links

  1. https://webaim.org/techniques/skipnav/#other
  2. https://webaim.org/standards/wcag/checklist#sc2.4.1
  3. https://www.w3.org/TR/WCAG22/#bypass-blocks

Additional Details

Screen.Recording.2026-01-20.at.11.14.42.PM.mov

Metadata

Metadata

Assignees

Labels

A-a11yArea: Anything to do with accessibilityC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions