I am working on making my website fully accessible by WCAG standards. I am currently trying to implement skip navigation, the feature that many sites have where users are displayed with a “Skip to Content” or “Skip Navigation” link when they tab through the page. The skip navigation link should be the first tabindex and should allow the user, when it is engaged, to skip directly to the main content of the page.
I am currently trying to implement this on my site by using a button linked to an anchor that redirects the user down to the main section of the page. I was wondering if anyone has any better solutions for this? Or if anyone knows of a way to make the button invisible until it is tabbed by the user? Thank you!