@matheusbsbs / matheus-bagliano / commits / 7d25ef41c8
Fork 0

gitweb: add empty alt text to avatar img

The empty alt text optimizes screen estate in text-only browsers. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Giuseppe Bilotta committed Jun 30, 2009 at 00:00 UTC 7d25ef41c84850ec1405400efc95d78fa6523efc
1 file changed +1
gitweb/gitweb.perl
+1
@@ -1574,6 +1574,7 @@ sub git_get_avatar {
1574 "<img width=\"$size\" " .
1575 "class=\"avatar\" " .
1576 "src=\"$url\" " .
1577 + "alt=\"\" " .
1578 "/>" . $post_white;
1579 } else {
1580 return "";