[views/tabs] tests absolutely want an alt attribute (even if meaningless)
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 29 Nov 2011 12:06:35 +0100
changeset 8103 5feb10df65cd
parent 8102 619d41a4c770
child 8104 71d9fb78b772
[views/tabs] tests absolutely want an alt attribute (even if meaningless)
web/views/tabs.py
--- a/web/views/tabs.py	Tue Nov 29 11:18:46 2011 +0100
+++ b/web/views/tabs.py	Tue Nov 29 12:06:35 2011 +0100
@@ -61,7 +61,7 @@
             tabid, xml_escape(self._cw.build_url('json', **urlparams))))
         if show_spinbox:
             # Don't use ``alt`` since image is a *visual* helper for ajax
-            w(u'<img src="%s" id="%s-hole"/>'
+            w(u'<img src="%s" alt="" id="%s-hole"/>'
               % (xml_escape(self._cw.data_url('loading.gif')), tabid))
         else:
             w(u'<div id="%s-hole"></div>' % tabid)