Pārlūkot izejas kodu

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

Fix: Remove a11y-friendly Text from Cheatsheet Glyphs
Brian Talbot 9 gadi atpakaļ
vecāks
revīzija
213cc1f4f5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/cheatsheet.html

+ 1 - 1
src/cheatsheet.html

@@ -25,7 +25,7 @@ relative_path: ../
     {% for icon in sorted_icons %}
     <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 %}
-      <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 }}
       {% if icon.alias_of %} <span class="text-muted">(alias)</span>{% endif %}
       <span class="text-muted">[&amp;#x{{ icon.unicode }};]</span>