fix aria-labels
All checks were successful
ci/woodpecker/push/hugo-build Pipeline was successful

This commit is contained in:
Vri 🌈 2023-05-18 13:19:15 +02:00
parent 41be8c98a5
commit 30b4ffa43d
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -8,7 +8,7 @@
<img id="avatar" alt="{{ $.Site.Params.displayName }}" src="{{ $avatar.RelPermalink }}" /> <img id="avatar" alt="{{ $.Site.Params.displayName }}" src="{{ $avatar.RelPermalink }}" />
{{ end }} {{ end }}
</div> </div>
<nav id="sidebar-menu" aria-labelledby="primary-navigation"> <nav id="sidebar-menu" aria-label="primary-navigation">
<ul> <ul>
{{- range .Site.Menus.main }} {{- range .Site.Menus.main }}
{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} {{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}
@ -20,7 +20,7 @@
</ul> </ul>
</nav> </nav>
<div> <div>
<nav id="social-links" aria-labelledby="social-links"> <nav id="social-links" aria-label="social-links">
<a class="hint-text" rel="me" href="https://social.anoxinon.de/@vri" aria-label="Mastodon">{{ partial "helpers/icons" "mastodon" }}</a> <a class="hint-text" rel="me" href="https://social.anoxinon.de/@vri" aria-label="Mastodon">{{ partial "helpers/icons" "mastodon" }}</a>
</nav> </nav>
<div id="languages"> <div id="languages">