Skip to content

Commit 5763b86

Browse files
committedJan 20, 2016
Add alt tags for logos
1 parent c4c9628 commit 5763b86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/doc/version_info.html.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div id="versioninfo">
2-
<img src="https://www.rust-lang.org/logos/rust-logo-32x32-blk.png" width="32" height="32" alt><br>
2+
<img src="https://www.rust-lang.org/logos/rust-logo-32x32-blk.png" width="32" height="32" alt="Rust logo"><br>
33
<span class="white-sticker"><a href="https://www.rust-lang.org">Rust</a> VERSION</span><br>
44
<a href="https://github.com/rust-lang/rust/commit/STAMP"
55
class="hash white-sticker">SHORT_HASH</a>

‎src/librustdoc/html/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ r##"<!DOCTYPE html>
148148
"".to_string()
149149
} else {
150150
format!("<a href='{}{}/index.html'>\
151-
<img src='{}' alt='' width='100'></a>",
151+
<img src='{}' alt='logo' width='100'></a>",
152152
page.root_path, layout.krate,
153153
layout.logo)
154154
},

0 commit comments

Comments
 (0)
Please sign in to comment.