Skip to content

Commit e90663f

Browse files
committed
Search input field must be part of the tab cycle
Signed-off-by: Hofi <hofione@gmail.com>
1 parent 0f97dab commit e90663f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/search/search_form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<label class="sr-only" for="search">
77
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
88
</label>
9-
<input type="search" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
9+
<input type="search" id="search" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
1010
<a class="search-help content-tooltip full-content-tooltip nav-link" href="/lunr_search_help.html">[ Hover or click for search help ]</a>
1111
</form>
1212
<div id="results" class="results"></div>
@@ -15,7 +15,7 @@
1515
<label class="sr-only" for="cse-search-input-box-id">
1616
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
1717
</label>
18-
<input type="search" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
18+
<input type="search" id="cse-search-input-box-id" class="search-input" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
1919
</form>
2020
<div id="results" class="results">
2121
<gcse:searchresults-only></gcse:searchresults-only>

0 commit comments

Comments
 (0)