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

swap top link to toc #50

Closed
wants to merge 5 commits into from
Closed

swap top link to toc #50

wants to merge 5 commits into from

Conversation

SallyMcGrath
Copy link
Member

this is a fairly standard accessibility helper I don't think it's a good idea to remove, but def should link to the correct fragment!

fixes #48

this is a fairly standard accessibility helper I don't think it's a good idea to remove, but def should link to the correct fragment!
@netlify
Copy link

netlify bot commented Jun 11, 2023

Deploy Preview for cyf-curriculum failed.

Name Link
🔨 Latest commit bc15b40
🔍 Latest deploy log https://app.netlify.com/sites/cyf-curriculum/deploys/648736bfc72bc10007b7448e

@illicitonion
Copy link
Member

Makes sense!

Looks good, but currently appears to scroll to the middle of the TOC rather than the top? Any idea why?

This is what I see after scrolling down and clicking the link:

Screenshot 2023-06-11 at 11 01 08

@SallyMcGrath
Copy link
Member Author

Hrm. It's because there's a sticky header. The top of the toc is at the viewport now. I can fix that but it's a bit fiddly - let's merge this and open a style ticket. (this is actual function)

@illicitonion
Copy link
Member

I think this is obsoleted by #87?

@SallyMcGrath SallyMcGrath deleted the bugfix/top-to-toc branch June 14, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fundamentals Prep: Skip links are confusing
3 participants