[damned-lies] HTML5 spec considers images without an alt attribute an error



commit 6f52078ddef8a315b77ef15ae1233dba5b77904b
Author: Gil Forcada <gforcada gnome org>
Date:   Sat Oct 27 16:31:55 2012 +0200

    HTML5 spec considers images without an alt attribute an error

 templates/teams/team_detail.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/templates/teams/team_detail.html b/templates/teams/team_detail.html
index f1e99ed..8642524 100644
--- a/templates/teams/team_detail.html
+++ b/templates/teams/team_detail.html
@@ -71,7 +71,7 @@ $(document).ready(function() {
 
     <p><strong>{% trans "Plural forms:" %}</strong> {{ lang.get_plurals }}</p>
 
-    <h3><a href="." class="archives" id="{{ lang.locale|escapeat }}"><img src="{{ STATIC_URL }}img/closed.png" /></a>&nbsp;{% trans "Archives" %}</h3>
+    <h3><a href="." class="archives" id="{{ lang.locale|escapeat }}"><img alt="{% trans 'Show/hide archived translations' %}" src="{{ STATIC_URL }}img/closed.png" /></a>&nbsp;{% trans "Archives" %}</h3>
     <div id="div-rel-archives-{{ lang.locale|escapeat }}" class="empty" style="display:none;"></div>
 
 {% endfor %}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]