Skip to content

Commit

Permalink
LOM-300: LOM-300 Changed visibility-hidden class to is-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
teroelonen committed Jan 31, 2023
1 parent 4b5ab25 commit 731ac56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/misc/icon.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<span class="hel-icon hel-icon--{{ icon }} {{ class }}" role="img" {% if label %} aria-labelledby="{{ icon_labelled_by }}" {% else %} aria-hidden="true" {% endif %}>
{% if label %}
<span class="visually-hidden" id="{{ icon_labelled_by }}">{{ label }}</span>
<span class="is-hidden" id="{{ icon_labelled_by }}">{{ label }}</span>
{% endif %}
</span>

0 comments on commit 731ac56

Please sign in to comment.