summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallixx <1695323+allixx@users.noreply.github.com>2023-01-08 13:41:48 +0300
committerallixx <1695323+allixx@users.noreply.github.com>2023-01-08 13:41:48 +0300
commit1407a055b297857ebe6e0e9ac1c6eb0e35d57f9b (patch)
tree4048b62460355c8a17245af1d21547441ccc4e64
parent4e735b289b2a71583664e214e45aafccd0b85bfc (diff)
[simple theme] set tab index for search page input field #1891
Previously it took five tab keypresses to reach search input field on search results page. Now one tab press is enough.
-rw-r--r--searx/templates/simple/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/simple/search.html b/searx/templates/simple/search.html
index c5f7de09c..e5b44169e 100644
--- a/searx/templates/simple/search.html
+++ b/searx/templates/simple/search.html
@@ -6,7 +6,7 @@
</a>
<div id="search_view">
<div class="search_box">
- <input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" autocomplete="off" autocapitalize="none" spellcheck="false" autocorrect="off" dir="auto" value="{{ q or '' }}">
+ <input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" autocapitalize="none" spellcheck="false" autocorrect="off" dir="auto" value="{{ q or '' }}">
<button id="clear_search" type="reset" aria-label="{{ _('clear') }}" class="hide_if_nojs"><span>{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('clear') }}</span></button>
<button id="send_search" type="submit" aria-label="{{ _('search') }}"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
</div>