We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee0e51 commit b09c97aCopy full SHA for b09c97a
partials/navigation.hbs
@@ -1,4 +1,4 @@
1
-{{#if isSecondary}}{{else}}<a href="/" class="logo-circle" alt="Home"></a>{{/if}}
+{{#if isSecondary}}{{else}}<a href="/" class="logo-circle"><span class="visually-hidden">Home</span></a>{{/if}}
2
<ul class="nav">
3
{{#foreach navigation}}
4
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}">
src/css/layout/navigation.css
@@ -182,3 +182,15 @@ nav .menu-icon.close {
182
width: 101.5%;
183
}
184
185
+
186
+.visually-hidden {
187
+ position: absolute;
188
+ width: 1px;
189
+ height: 1px;
190
+ padding: 0;
191
+ margin: -1px;
192
+ overflow: hidden;
193
+ clip: rect(0, 0, 0, 0);
194
+ white-space: nowrap;
195
+ border: 0;
196
+}
0 commit comments