aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/search.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 22:00:50 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 22:00:50 +0100
commit20c3faae4d6ff0bf842d0a947e9932ea98b56d48 (patch)
treed2050f2f938de84c1aef9e60ccc3eb2d43d6fd5c /layouts/partials/docs/search.html
parentf1d4aeb69a6cc185c84981f79402baa6ed8ba354 (diff)
Improve accessibility score
Diffstat (limited to 'layouts/partials/docs/search.html')
-rw-r--r--layouts/partials/docs/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html
index 5c8b912..bb1fa76 100644
--- a/layouts/partials/docs/search.html
+++ b/layouts/partials/docs/search.html
@@ -1,6 +1,6 @@
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
- <input type="text" placeholder="{{ i18n "Search" }}" id="book-search-input" maxlength="64" />
+ <input type="text" id="book-search-input" placeholder="{{ i18n "Search" }}" aria-label="{{ i18n "Search" }}" maxlength="64" />
<div class="book-search-spinner spinner hidden"></div>
<ul id="book-search-results"></ul>
</div>