Commit 7dc99a4bbbb8b791b58bd8bd34a3b149e3c0bb52

Parents: ef473df0b328dac114fa4df6b03373a410db6a4b

From: Lars Hjemli <hjemli@gmail.com>
Date: Thu May 24 00:08:36 2007 +0700

Bad html: it's nice to add alt-attributes
Signed-off-by: Lars Hjemli <hjemli@gmail.com>

Stats

ui-shared.c +1/-1

Changeset

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/ui-shared.c b/ui-shared.c
index 26a6c716e73dc60c83b05f92b62d88d630106227..c8c1c21a9c8655fba4b84820683991d90fe55b35 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -174,7 +174,7 @@ 	html(cgit_root_title);
 	html("</td><td id='logo'>");
 	html("<a href='");
 	html_attr(cgit_logo_link);
-	htmlf("'><img src='%s'/></a>", cgit_logo);
+	htmlf("'><img src='%s' alt='logo'/></a>", cgit_logo);
 	html("</td></tr>");
 	html("<tr><td id='crumb'>");
 	htmlf("<a href='%s'>root</a>", cgit_rooturl());