/crate is no longer reachable without javascript
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 233
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
This is a regression introduced by https://github.com/rust-lang/docs.rs/pull/1081 - since dropdowns open using javascript, and clicking on the dropdown itself no longer goes to a new page, there's no longer a way to go to /crate without javascript enabled (or typing the URL in manually).
Rather than reverting the PR, I think the fix should be to make dropdowns open using CSS instead. That may not be feasible - if so, I think I would prefer to revert the PR so the site is still usable without JS.
cc @jsha, do you have time to follow-up on this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing pull request 1081 and the dropdown implementation it introduced. Check how the /crate link behaves with JavaScript disabled, then determine whether CSS-only dropdown behavior preserves navigation; done means /crate remains reachable without JavaScript, or the change is reverted if that is not feasible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- accessibility, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100