Skip to content

Commit 7d25ef4

Browse files
Oblomovgitster
authored andcommitted
gitweb: add empty alt text to avatar img
The empty alt text optimizes screen estate in text-only browsers. Signed-off-by: Giuseppe Bilotta <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 679a1a1 commit 7d25ef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1574,6 +1574,7 @@ sub git_get_avatar {
15741574
"<img width=\"$size\" " .
15751575
"class=\"avatar\" " .
15761576
"src=\"$url\" " .
1577+
"alt=\"\" " .
15771578
"/>" . $post_white;
15781579
} else {
15791580
return "";

0 commit comments

Comments
 (0)