File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,21 @@ a.Footer-link--primary {
563
563
.Header-navOpen--white {
564
564
background : no-repeat center/2rem url ('/images/menu-24px-white.svg' );
565
565
}
566
+ .skip-to-content-link {
567
+ background : var (--color-background );
568
+ border-radius : 6px ;
569
+ color : var (--color-text );
570
+ font-weight : 500 ;
571
+ margin : 5px ;
572
+ position : absolute;
573
+ overflow : hidden;
574
+ top : 12px ;
575
+ clip : rect (0 0 0 0 );
576
+ left : 8% ;
577
+ }
578
+ .skip-to-content-link : focus {
579
+ clip : unset;
580
+ }
566
581
.NavigationDrawer {
567
582
background : var (--color-background );
568
583
height : 100% ;
Original file line number Diff line number Diff line change 60
60
src="/images/go-logo-white.svg"
61
61
alt="Go">
62
62
</a>
63
+ <div class="skip-navigation-wrapper">
64
+ <a class="skip-to-content-link" aria-label="Skip to main content" href="#main-content"> Skip to Main Content </a>
65
+ </div>
63
66
<div class="Header-rightContent">
64
67
<ul class="Header-menu">
65
68
{{- $currentPage := .}}
173
176
</nav>
174
177
</aside>
175
178
<div class="NavigationDrawer-scrim js-scrim" role="presentation"></div>
176
- <main class="SiteContent SiteContent--default">
179
+ <main class="SiteContent SiteContent--default" id="main-content" >
177
180
{{block "layout" .}}{{.Content}}{{end}}
178
181
</main>
179
182
<footer class="Site-footer">
You can’t perform that action at this time.
0 commit comments