Added an alt tag to the feed icons. Accessibility! Woo!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 19 Aug 2011 00:57:49 +0000 (19:57 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 19 Aug 2011 00:57:49 +0000 (19:57 -0500)
mediagoblin/templates/mediagoblin/listings/tag.html
mediagoblin/templates/mediagoblin/user_pages/gallery.html
mediagoblin/templates/mediagoblin/user_pages/user.html

index f36f3df48be71265781dc9d1084878129a5ed594..bf2b4c01289ef26da02b92c49c19883ecf1b25a7 100644 (file)
@@ -41,7 +41,7 @@
                tag=tag_slug) %}
     <a href="{{ feed_url }}">
       <img src="{{ request.staticdirect('/images/icon_feed.png') }}"
-             class="media_icon" />
+           class="media_icon" alt="{% trans %}feed icon{% endtrans %} />
     </a>
     <a href="{{ feed_url }}">{%- trans %}Atom feed{% endtrans -%}</a>
   </div>
index 6acee9ef4571b45352f4cff9b2763bed4aeb3e38..e54422da63f6f5d4d18371b6dc47ce811195b475 100644 (file)
@@ -47,7 +47,7 @@
                 user=user.username) %}
       <a href="{{ feed_url }}">
         <img src="{{ request.staticdirect('/images/icon_feed.png') }}"
-               class="media_icon" />
+             class="media_icon" alt="{% trans %}feed icon{% endtrans %}" />
       </a>
       <a href="{{ feed_url }}">{%- trans %}Atom feed{% endtrans -%}</a>
     </div>
index 56f6503c225071161045d23158f273a05ed1a6d5..1a9a0f83dc965a554fcb7521835199349b34ed8d 100644 (file)
                 user=user.username) %}
       <a href="{{ feed_url }}">
         <img src="{{ request.staticdirect('/images/icon_feed.png') }}"
-               class="media_icon" />
+             class="media_icon" alt="{% trans %}feed icon{% endtrans %}" />
       </a>
       <a href="{{ feed_url }}">{%- trans %}Atom feed{% endtrans -%}</a>
     </div>