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
parent
679a1a1d42
commit
7d25ef41c8
|
@ -1574,6 +1574,7 @@ sub git_get_avatar {
|
||||||
"<img width=\"$size\" " .
|
"<img width=\"$size\" " .
|
||||||
"class=\"avatar\" " .
|
"class=\"avatar\" " .
|
||||||
"src=\"$url\" " .
|
"src=\"$url\" " .
|
||||||
|
"alt=\"\" " .
|
||||||
"/>" . $post_white;
|
"/>" . $post_white;
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in New Issue