Skip to content

Add bypass block for accessibility - #3251

Open
Chocorean wants to merge 4 commits into
rust-lang:mainfrom
Chocorean:dev-bypass
Open

Chocorean wants to merge 4 commits into
rust-lang:mainfrom
Chocorean:dev-bypass

Conversation

@Chocorean

@Chocorean Chocorean commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #2144
Fixes #2107

I have added a gui test, I struggled with the testing system because it says the block has a non null width, and doing press: "Tab" would select another element, even though these two actions work manually.
So instead I just watch for CSS changes, hopefully that is enough, if not I am looking for advice

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Oct 29, 2026
Comment thread crates/mdbook-html/front-end/css/chrome.css Outdated
use id instead of class for bypass block

add gui test

attempt at mimicing rustdocs skipping block

remove a tag in rule

fix tests

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: waiting on a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output lacks bypass blocks (fails WCAG 2.4.1)

4 participants