Merge pull request #8976 from FortAwesome/talbs/fix-cheatsheet

Fix: Remove a11y-friendly Text from Cheatsheet Glyphs
This commit is contained in:
Brian Talbot 2016-04-13 17:19:11 -04:00
commit 213cc1f4f5

View File

@ -25,7 +25,7 @@ relative_path: ../
{% for icon in sorted_icons %} {% for icon in sorted_icons %}
<div class="col-md-4 col-sm-6 col-lg-3"> <div class="col-md-4 col-sm-6 col-lg-3">
{% if icon.created >= site.fontawesome.major_version %}<small class="text-muted pull-right">{{ icon.created }}</small>{% endif %} {% if icon.created >= site.fontawesome.major_version %}<small class="text-muted pull-right">{{ icon.created }}</small>{% endif %}
<i class="fa fa-fw" aria-hidden="true"><span class="sr-only">Copy to use {{ icon.class }}</span>&#x{{ icon.unicode }}</i> <i class="fa fa-fw" aria-hidden="true" title="Copy to use {{ icon.class }}">&#x{{ icon.unicode }}</i>
fa-{{ icon.class }} fa-{{ icon.class }}
{% if icon.alias_of %} <span class="text-muted">(alias)</span>{% endif %} {% if icon.alias_of %} <span class="text-muted">(alias)</span>{% endif %}
<span class="text-muted">[&amp;#x{{ icon.unicode }};]</span> <span class="text-muted">[&amp;#x{{ icon.unicode }};]</span>