Improve accessibility

This commit is contained in:
2021-11-23 19:06:26 -06:00
parent 1380558384
commit 43d406c4fe
18 changed files with 90 additions and 30 deletions

View File

@ -1,7 +1,7 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-header">
{{ .Text | safeHTML }}
<a href="#{{ .Anchor | safeURL }}">
<span class="section-header-link">
<span class="section-header-link" aria-label="{{ i18n "aria_header_link" }}">
{{ partial "icon.html" "link" }}
</span>
</a>