mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Improve accessibility by adding title to icons
This commit is contained in:
parent
1e7d7dd23a
commit
6c819a3923
@ -1,4 +1,5 @@
|
||||
{{ $sprites := resources.Get "icon/feather-sprite.svg" | fingerprint "sha256" }}
|
||||
<svg class="icon" fill="none" stroke="lightgray" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<title>{{ . }} icon</title>
|
||||
<use href="{{ printf "%s#%s" $sprites.Permalink . | relURL }}" />
|
||||
</svg>
|
||||
|
Loading…
Reference in New Issue
Block a user