summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-25 18:29:13 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-06-25 19:50:26 +0200
commit969b4340fd5c86b15112402cf550b6cfcdf11a59 (patch)
treeaa382a4a211129defb2c21b5aa06b5987ff19428
parentcc164abdfcecef82eada0d4657475e4e55b65be8 (diff)
downloadsearxng-969b4340fd5c86b15112402cf550b6cfcdf11a59.tar.gz
searxng-969b4340fd5c86b15112402cf550b6cfcdf11a59.zip
[fix] add label/info to Time range search and Language - #350
-rw-r--r--searx/templates/oscar/languages.html1
-rw-r--r--searx/templates/oscar/time-range.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/searx/templates/oscar/languages.html b/searx/templates/oscar/languages.html
index 5aff9f918..9c00c9cea 100644
--- a/searx/templates/oscar/languages.html
+++ b/searx/templates/oscar/languages.html
@@ -1,3 +1,4 @@
+<label class="visually-hidden" for="language">{{ _('Language') }}</label>
<select class="language custom-select form-control" id="language" name="language" accesskey="l">
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
{%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
diff --git a/searx/templates/oscar/time-range.html b/searx/templates/oscar/time-range.html
index fb1c0754b..181b57681 100644
--- a/searx/templates/oscar/time-range.html
+++ b/searx/templates/oscar/time-range.html
@@ -1,3 +1,4 @@
+<label class="visually-hidden" for="time-range">{{ _('Time range') }}</label>
<select name="time_range" id="time-range" class="custom-select form-control" accesskey="t">{{- "" -}}
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
{{- _('Anytime') -}}