Improve accessability #14

Manually merged
vrifox merged 5 commits from improve-accessability into main 2023-05-17 14:36:30 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 2be07ae8dd - Show all commits

View file

@ -34,7 +34,7 @@
position: relative; position: relative;
&::before { &::before {
content: attr(data-title); content: attr(aria-label);
left: calc(100% + 0.5rem); left: calc(100% + 0.5rem);
position: absolute; position: absolute;
top: 50%; top: 50%;

View file

@ -21,7 +21,7 @@
</section> </section>
<aside> <aside>
<section id="social-links"> <section id="social-links">
<a class="hint-text" rel="me" href="https://social.anoxinon.de/@vri" data-title="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>
</section> </section>
<section id="languages"> <section id="languages">
{{- if .Site.IsMultiLingual }} {{- if .Site.IsMultiLingual }}
@ -33,7 +33,7 @@
{{ range $siteLanguages }} {{ range $siteLanguages }}
{{ if eq $translation.Lang .Lang }} {{ if eq $translation.Lang .Lang }}
{{ if ne $pageLanguage .Lang }} {{ if ne $pageLanguage .Lang }}
<a class="hint-text" id="language" href="{{ $translation.Permalink }}" data-title="{{ .LanguageName }}">{{ .Params.languageFlag }}</a> <a class="hint-text" id="language" href="{{ $translation.Permalink }}" aria-label="{{ .LanguageName }}">{{ .Params.languageFlag }}</a>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}