Feat(accessibility): use aria-hidden=true on icons that AT should ignore

This commit is contained in:
Cell
2022-08-28 16:54:44 +08:00
parent 16482da119
commit 10b530abe1
20 changed files with 86 additions and 59 deletions
+2 -1
View File
@@ -31,9 +31,10 @@
{{- else -}}
<span class="author">
{{- with $icon -}}
<i class="{{ .Class }}"></i>
{{ . | partial "plugin/icon.html" }}
{{ end -}}
{{- $content | safeHTML -}}
</span>
{{- end -}}
</span>
{{- /* EOF */ -}}