No skip to content link #11603
Closed
jmankoff
started this conversation in
Feature Requests
Replies: 1 comment
-
Duplicate of #10096 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A best practice for accessibility is to have a skip to content link at the beginning of every web page that is invisible and skips to content, something like this:
<a class="skip-main" href="#quarto-document-content">Skip to main content</a>
It's typically styled something like this:
I've found a work around using
announcement:
content: Skip to main content
position: above-navbar
dismissable: false
However (1) this creates a non-zero height announcement area above the navbar and (2) this precludes announcements being used for anything else. Quarto should have the skip-to-content link by default built into all websites to improve their WCAG compliance.
Beta Was this translation helpful? Give feedback.
All reactions