aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/docs/html-head.html1
-rw-r--r--layouts/partials/docs/languages.html4
-rw-r--r--layouts/partials/docs/search.html2
3 files changed, 4 insertions, 3 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index b9df8d9..b280ef9 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -1,5 +1,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="{{ partial "docs/title" . }}">
{{- template "_internal/opengraph.html" . -}}
<title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title>
diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html
index 543cdff..1666215 100644
--- a/layouts/partials/docs/languages.html
+++ b/layouts/partials/docs/languages.html
@@ -11,7 +11,7 @@
<ul>
<li class="flex">
- <img src="{{ "svg/translate.svg" | relURL }}" />
+ <img src="{{ "svg/translate.svg" | relURL }}" alt="Languages" />
{{ $.Site.Language.LanguageName }}
</li>
</ul>
@@ -20,7 +20,7 @@
{{ range sort $langs }}
<li class="{{ if (eq $.Site.Language .Language ) }}active{{ end }}">
<a href="{{ .Permalink }}" class="flex">
- <img src="{{ "svg/translate.svg" | relURL }}" />
+ <img src="{{ "svg/translate.svg" | relURL }}" alt="Languages" />
{{ .Language.LanguageName }}
</a>
</li>
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>