diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-06-30 00:00:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-30 11:06:37 -0700 |
commit | 7d25ef41c84850ec1405400efc95d78fa6523efc (patch) | |
tree | 2832bdefcb8dd5d94a42c9ef496952eb1277362f | |
parent | gitweb: picon avatar provider (diff) | |
download | tgif-7d25ef41c84850ec1405400efc95d78fa6523efc.tar.xz |
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>
-rwxr-xr-x | gitweb/gitweb.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 862ea99f8a..6a1b5b5b49 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1574,6 +1574,7 @@ sub git_get_avatar { "<img width=\"$size\" " . "class=\"avatar\" " . "src=\"$url\" " . + "alt=\"\" " . "/>" . $post_white; } else { return ""; |