summaryrefslogtreecommitdiff
path: root/searx/templates/simple/simple_search.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2022-02-05 08:56:42 +0100
committerAlexandre FLAMENT <alexandre.flament@hesge.ch>2022-03-08 19:37:21 +0000
commita250ddadb9b366cf7aadf82ae97bf2fc4e837a87 (patch)
tree1fe101f3dbd8ce5f0b75a67cde1419c5004a642b /searx/templates/simple/simple_search.html
parente1319fc21c713cfb9675389ba38f37e10cf77cd2 (diff)
[enh] simple: basic ARIA fixes
Diffstat (limited to 'searx/templates/simple/simple_search.html')
-rw-r--r--searx/templates/simple/simple_search.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/simple_search.html b/searx/templates/simple/simple_search.html
index 6a5cdd9e7..aa864f282 100644
--- a/searx/templates/simple/simple_search.html
+++ b/searx/templates/simple/simple_search.html
@@ -1,9 +1,9 @@
-<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
+<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="search">
<div id="search_header">
<div class="search_box">
- <input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
- <button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('clear') }}</span></button>
- <button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
+ <input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
+ <button id="clear_search" type="button" aria-label="{{ _('clear') }}"><span class="hide_if_nojs">{{ 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>
</div>
</form>