Adds titles to icons

This commit is contained in:
Mouse Reeve
2021-01-14 14:13:23 -08:00
parent aa7320ffe0
commit b1cdddd1a2
11 changed files with 28 additions and 46 deletions

View File

@ -1,6 +1,6 @@
<label class="{% if class %}{{ class }}{% else %}button{% endif %}{% if small %} is-small{% endif %}" for="{{ controls_text }}{% if controls_uid %}-{{ controls_uid }}{% endif %}" tabindex="0" role="button">
{% if icon %}
<span class="icon icon-{{ icon }}">
<span class="icon icon-{{ icon }}" title="{{ text }}">
<span class="is-sr-only">{{ text }}</span>
</span>
{% else %}