mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
Fix visibility of focused skip link on docs site (#2405)
* Fix visibility of focused skip link on docs site
The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused.
* Fix visibility of focused skip link in docs example project
Apply the same fix as ac890b56
to the same component in the docs starter project.
This commit is contained in:
parent
e0def89697
commit
9deada68b4
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
<a href="#article" class="sr-only skiplink"><span>Skip to Content</span></a>
|
||||
<a href="#article" class="sr-only focus:not-sr-only skiplink"><span>Skip to Content</span></a>
|
||||
|
||||
<style>
|
||||
.skiplink,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<a href="#article" class="sr-only skiplink"><span>Skip to Content</span></a>
|
||||
<a href="#article" class="sr-only focus:not-sr-only skiplink"><span>Skip to Content</span></a>
|
||||
|
||||
<style>
|
||||
.skiplink,
|
||||
|
|
Loading…
Reference in a new issue