Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve accessibility for source sidebar collapse/expand button #119049

Conversation

GuillaumeGomez
Copy link
Member

Two first commits come from #119016.

I thought it might be worth it improving source sidebar accessibility by adding aria-label on the buttons.

r? @notriddle

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Dec 17, 2023
@rustbot
Copy link
Collaborator

rustbot commented Dec 17, 2023

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @jsha

@notriddle
Copy link
Contributor

I think, if we're going to change the design this much, we might just redesign the control entirely.

I'll have a PR open some time this week with a new version of the sidebar.

@GuillaumeGomez
Copy link
Member Author

Looking forward to it! :)

notriddle added a commit to notriddle/rust that referenced this pull request Dec 18, 2023
This is a redesign of the feature, with parts pulled from
rust-lang#119049
but with a button that looks more like a button and matches the
one used on other sidebar pages.
@notriddle
Copy link
Contributor

@GuillaumeGomez #119066

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 31, 2023
@bors
Copy link
Contributor

bors commented Dec 31, 2023

☔ The latest upstream changes (presumably #119066) made this pull request unmergeable. Please resolve the merge conflicts.

github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jan 1, 2024
@GuillaumeGomez GuillaumeGomez deleted the improve-source-accessibility branch January 22, 2024 10:04
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Apr 7, 2024
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this pull request Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants