Bad html: it's nice to add alt-attributes

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2007-05-24 00:08:36 +02:00
parent ef473df0b3
commit 7dc99a4bbb

View File

@ -174,7 +174,7 @@ void cgit_print_pageheader(char *title, int show_search)
html("</td><td id='logo'>"); html("</td><td id='logo'>");
html("<a href='"); html("<a href='");
html_attr(cgit_logo_link); 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("</td></tr>");
html("<tr><td id='crumb'>"); html("<tr><td id='crumb'>");
htmlf("<a href='%s'>root</a>", cgit_rooturl()); htmlf("<a href='%s'>root</a>", cgit_rooturl());