diff options
author | Magnus Hagander | 2008-10-18 09:45:28 +0000 |
---|---|---|
committer | Magnus Hagander | 2008-10-18 09:45:28 +0000 |
commit | aa17cbd75bef60fa153de7cc7c3ba796e64f3f2a (patch) | |
tree | 95a9de10c7419a9a1ebf86aacd13fc217b596421 | |
parent | 67cc38396415b312154c4575861bdeae8398692e (diff) |
Add mandatory alt attributes to img tags
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2222 8f5c7a92-453e-0410-a47f-ad33c8a6b003
-rw-r--r-- | planet/planethtml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/planet/planethtml.py b/planet/planethtml.py index 3ca9c165..3e3afe47 100644 --- a/planet/planethtml.py +++ b/planet/planethtml.py @@ -84,11 +84,11 @@ class PlanetHtml: else: self.str += feed[0] self.str += """ -<a href="%s"><img border="0" src="http://www.postgresql.org/layout/images/ico_rss.png" /></a></li>""" % (feed[2]) +<a href="%s"><img border="0" src="http://www.postgresql.org/layout/images/ico_rss.png" alt="rss" /></a></li>""" % (feed[2]) self.str += """ </ul> <div class="planetRightTitle">Feeds</div> <ul> - <li><a href="rss20.xml">Planet PostgreSQL</a> <a href="rss20.xml"><img border="0" src="http://www.postgresql.org/layout/images/ico_rss.png"></a></li> + <li><a href="rss20.xml">Planet PostgreSQL</a> <a href="rss20.xml"><img border="0" src="http://www.postgresql.org/layout/images/ico_rss.png" alt="rss"></a></li> </ul> </div> """ |