Add an anchor in a table entry
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.2k
- Forks
- 1.9k
- PR merge metrics
- PR metrics pending
Description
Problem
Look at https://rustc-dev-guide.rust-lang.org/appendix/glossary.html#intrinsic for example.
On my device, it looks like this
The anchor is at the entry "intrinsic". So "intrisic" is at the top of the visible screen. Except that we should have the full table entry visible, so the user can read it directly without having to scroll.
Proposed Solution
It would be great to have a plug-in that would allow to up id at the `
Notes
The anchor is implemented with a <span> element in the first entry of the table.
Putting the span on the right element would solve my problem; but it would be very bad accessibility practice, as, after clicking on such a link, a screen-reader may omit to read the first column.
Contributor guide
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 with the generated glossary table shown in the linked rustc-dev-guide example and inspect how its anchor is placed in the HTML. Trace the table-entry rendering and anchor handling, then verify that following an entry link reveals the full row while preserving screen-reader access to the first-column content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- accessibility, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100