diff options
| author | Liigo Zhuang <liigo@qq.com> | 2021-05-20 14:54:28 +0800 |
|---|---|---|
| committer | Liigo Zhuang <liigo@qq.com> | 2021-05-20 14:54:28 +0800 |
| commit | 375ca93c475732fa71feacb6d7f65ca191dfa170 (patch) | |
| tree | 290e82cfc7b6e6980ae75442d715db69f808a189 /src/librustdoc/html/layout.rs | |
| parent | a426fc37f2269093ef1a4dbb3e31b3247980fccc (diff) | |
| download | rust-375ca93c475732fa71feacb6d7f65ca191dfa170.tar.gz rust-375ca93c475732fa71feacb6d7f65ca191dfa170.zip | |
rustdoc: add tooltips to some buttons
Diffstat (limited to 'src/librustdoc/html/layout.rs')
| -rw-r--r-- | src/librustdoc/html/layout.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index ec04c94dc11..5d6056b0546 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -87,7 +87,7 @@ crate fn render<T: Print, S: Print>( {sidebar}\ </nav>\ <div class=\"theme-picker\">\ - <button id=\"theme-picker\" aria-label=\"Pick another theme!\" aria-haspopup=\"menu\">\ + <button id=\"theme-picker\" aria-label=\"Pick another theme!\" aria-haspopup=\"menu\" title=\"themes\">\ <img src=\"{static_root_path}brush{suffix}.svg\" \ width=\"18\" height=\"18\" \ alt=\"Pick another theme!\">\ @@ -105,8 +105,8 @@ crate fn render<T: Print, S: Print>( placeholder=\"Click or press ‘S’ to search, ‘?’ for more options…\" \ type=\"search\">\ </div>\ - <button type=\"button\" id=\"help-button\">?</button> - <a id=\"settings-menu\" href=\"{root_path}settings.html\">\ + <button type=\"button\" id=\"help-button\" title=\"help\">?</button> + <a id=\"settings-menu\" href=\"{root_path}settings.html\" title=\"settings\">\ <img src=\"{static_root_path}wheel{suffix}.svg\" \ width=\"18\" height=\"18\" \ alt=\"Change settings\">\ |
