Slightly improve accessibility

* Add `title` attribute to some buttons or icons
This commit is contained in:
Track3 2018-12-31 15:20:34 +08:00
parent 1e25d7d93e
commit 97395d876c
4 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,3 @@
{{ range . -}}
<a href="{{ .url }}" target="_blank" rel="noopener">{{ partial "svg.html" . }}</a>
<a href="{{ .url }}" target="_blank" rel="noopener" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}