-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
A-a11yArea: Anything to do with accessibilityArea: Anything to do with accessibilityC-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call 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.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
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
- https://webaim.org/techniques/skipnav/#other
- https://webaim.org/standards/wcag/checklist#sc2.4.1
- https://www.w3.org/TR/WCAG22/#bypass-blocks
Additional Details
Screen.Recording.2026-01-20.at.11.14.42.PM.mov
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-a11yArea: Anything to do with accessibilityArea: Anything to do with accessibilityC-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call 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.Relevant to the rustdoc team, which will review and decide on the PR/issue.