Skip to content
Snippets Groups Projects
Commit 9001c519 authored by Julien Schmidt's avatar Julien Schmidt
Browse files

make language shorthands aria-hidden

parent e44bdc1b
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
{{ $.Scratch.Set "url" (delimit (slice "/" .) "") }} {{ $.Scratch.Set "url" (delimit (slice "/" .) "") }}
{{ end }} {{ end }}
<a href="{{ $.Scratch.Get "url" }}" class="lang"> <a href="{{ $.Scratch.Get "url" }}" class="lang">
<span class="shorthand">{{ .Lang }}</span>{{ .LanguageName }} <span class="shorthand" aria-hidden="true">{{ .Lang }}</span>{{ .LanguageName }}
</a> </a>
</li> </li>
{{ end }} {{ end }}
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment