Scrollspy Not Adding 'Current' for Screen Readers to Active Anchors
See original GitHub issueShouldn’t Scrollspy be adding <span class="sr-only">(current)</span>
to active anchors too, or am I missing the point or something?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How do I set the offset for ScrollSpy in Bootstrap?
Bootstrap uses offset to resolve spying only, not scrolling. This means that scrolling to the proper place is up to you. Try this,...
Read more >ScrollSpy does not work with numeric anchor IDs · Issue #28866
If an anchor begins with a number (e.g. #1 , #1-something , then ScrollSpy does not function (no active link highlighting).
Read more >Scrollspy · Bootstrap v5.3
Automatically update Bootstrap navigation or list group components based on scroll position to indicate which link is currently active in the viewport.
Read more >Pagination · Arizona Bootstrap - Arizona Digital
Pagination is built with list HTML elements so screen readers can announce the number of available links. Use a wrapping <nav> element to...
Read more >How to Create a Scroll Tracking Table of Content in Gatsby?
We will also need to state the class name to activate when in view. yarn add react-scrollspy gatsby-remark-autolink-headers.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
going to close this, considering my last comment. the addition of “current” doesn’t really make sense for in-page anchor links.
if these are all on the single page, there’s no point in adding the “current” thing at all