We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da598d commit a4ea425Copy full SHA for a4ea425
src/generators/legacy-html/assets/style.css
@@ -142,6 +142,20 @@ a.type {
142
font-size: 0.9em;
143
}
144
145
+.skip-to-content {
146
+ position: fixed;
147
+ top: -300%;
148
+}
149
+
150
+.skip-to-content:focus {
151
+ display: block;
152
+ top: 0;
153
+ left: 0;
154
+ background-color: var(--green1);
155
+ padding: 1rem;
156
+ z-index: 999999;
157
158
159
#content {
160
position: relative;
161
src/generators/legacy-html/template.html
@@ -39,6 +39,7 @@
39
</style>
40
</head>
41
<body class="alt apidoc" id="api-section-__FILENAME__">
42
+ <a href="#apicontent" class="skip-to-content">Skip to content</a>
43
<div id="content" class="clearfix">
44
<div role="navigation" id="column2" class="interior">
45
<div id="intro" class="interior">
0 commit comments