diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-10 18:20:51 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2019-12-10 18:20:51 +0100 |
| commit | f373169c8452b79bbafa322102b6827a97eddb44 (patch) | |
| tree | f578d70a618f4f415a099509643372a040a8b749 /searx/templates/oscar/search_full.html | |
| parent | 57c6fa6e63dd74c8a992b5c22946bc6e6bba8642 (diff) | |
theme: oscar - add accesskey to input tags
l - language field
s - search field
t - time range field
The way to activate the accesskey depends on the browser and its platform [1]
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/oscar/search_full.html')
| -rw-r--r-- | searx/templates/oscar/search_full.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/search_full.html b/searx/templates/oscar/search_full.html index 90b3c030b..656463178 100644 --- a/searx/templates/oscar/search_full.html +++ b/searx/templates/oscar/search_full.html @@ -6,7 +6,7 @@ {% else %} <div class="input-group col-md-8 col-md-offset-2"> {% endif %} - <input type="search" name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}"> + <input type="search" name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s"> <span class="input-group-btn"> <button type="submit" class="btn btn-default input-lg" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button> </span> |