We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90cd8f1 commit a7a4072Copy full SHA for a7a4072
1 file changed
app/app.vue
@@ -1,7 +1,8 @@
1
<template>
2
<div class="page">
3
+ <a href="#maincontent" class="sr-only sr-only--focusable skip-link">Skip to main content</a>
4
<Navigation />
- <main>
5
+ <main id="maincontent">
6
<NuxtLayout />
7
</main>
8
<SiteFooter />
@@ -38,4 +39,18 @@ useHead({
38
39
}
40
41
42
+
43
+.skip-link {
44
+ display: block;
45
+ position: fixed !important;
46
+ top: 1rem;
47
+ left: 1rem;
48
+ z-index: 9999;
49
+ padding: 0.5rem 1rem !important;
50
+ background-color: var(--color-fg1);
51
+ color: var(--color-accent);
52
+ border-radius: 0.25rem;
53
+ font-weight: 700;
54
+ text-decoration: none;
55
+}
56
</style>
0 commit comments