]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: add empty alt text to avatar img
authorGiuseppe Bilotta <redacted>
Mon, 29 Jun 2009 22:00:54 +0000 (00:00 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
The empty alt text optimizes screen estate in text-only browsers.

Signed-off-by: Giuseppe Bilotta <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 5a5582614e49795d6e9deabdb8a95fe9288d36dc8250ac2d7055f4af1740afe4..411d965386a9f50cc2e84550e546cd85d243f4edaf77c50a18398b025747a15c 100755 (executable)
@@ -1575,6 +1575,7 @@ sub git_get_avatar {
                       "<img width=\"$size\" " .
                            "class=\"avatar\" " .
                            "src=\"$url\" " .
+                           "alt=\"\" " .
                       "/>" . $post_white;
        } else {
                return "";
This page took 0.344589 seconds and 4 git commands to generate.