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

A11y/skip link #694

Closed
wants to merge 2 commits into from
Closed

A11y/skip link #694

wants to merge 2 commits into from

Conversation

gcamacho079
Copy link

Description

Adds a skip link to the main content, and moves focus to the top of the page on route changes

Related issues

@gcamacho079 gcamacho079 requested a review from a team as a code owner March 19, 2025 19:13
Copy link

netlify bot commented Mar 19, 2025

Deploy Preview for craft-docs ready!

Name Link
🔨 Latest commit f272068
🔍 Latest deploy log https://app.netlify.com/sites/craft-docs/deploys/67db17699e70730008da4942
😎 Deploy Preview https://deploy-preview-694--craft-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@gcamacho079
Copy link
Author

Closing because I noticed the route change is also triggered on hash updates, and the focus is then reset to the top unnecessarily. Will fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant