File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
{%- assign search_provider = site.search_provider | default: "lunr" -%}
3
3
{%- case search_provider -%}
4
4
{%- when "lunr" -%}
5
- < form class ="search-content__form " onkeydown ="return event.key != 'Enter'; ">
5
+ < form class ="search-content__form " onkeydown ="return event.key != 'Enter'; " role =" search " >
6
6
< label class ="sr-only " for ="search ">
7
7
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
8
8
</ label >
9
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...' }} " />
10
10
</ form >
11
11
< div id ="results " class ="results "> </ div >
12
12
{%- when "google" -%}
13
- < form onsubmit ="return googleCustomSearchExecute(); " id ="cse-search-box-form-id ">
13
+ < form onsubmit ="return googleCustomSearchExecute(); " id ="cse-search-box-form-id " role =" search " >
14
14
< label class ="sr-only " for ="cse-search-input-box-id ">
15
15
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
16
16
</ label >
You can’t perform that action at this time.
0 commit comments