Browse Source

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>
maint
Giuseppe Bilotta 16 years ago committed by Junio C Hamano
parent
commit
7d25ef41c8
  1. 1
      gitweb/gitweb.perl

1
gitweb/gitweb.perl

@ -1574,6 +1574,7 @@ sub git_get_avatar { @@ -1574,6 +1574,7 @@ sub git_get_avatar {
"<img width=\"$size\" " .
"class=\"avatar\" " .
"src=\"$url\" " .
"alt=\"\" " .
"/>" . $post_white;
} else {
return "";

Loading…
Cancel
Save