Skip to content

Commit 4aec2a8

Browse files
committed
Avoid duplicated search box IDs
Fixes #5295
1 parent 8407c2d commit 4aec2a8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h2>Page not found</h2>
1313
<input type="hidden" name="cx" value="011220921317074318178:i4mscbaxtru">
1414
<input type="hidden" name="ie" value="UTF-8">
1515
<input type="hidden" name="hl" value="en">
16-
<input class="search-field" type="search" name="q" id="q" autocomplete="off" placeholder="Enter keywords">
16+
<input class="search-field" type="search" name="q" id="search-main" autocomplete="off" placeholder="Enter keywords">
1717
</form>
1818
</div>
1919

src/_includes/navigation-main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<input type="hidden" name="ie" value="UTF-8">
3737
<input type="hidden" name="hl" value="en">
3838
<input class="site-header__searchfield form-control search-field" type="search" name="q"
39-
id="q" autocomplete="off" placeholder="Search" aria-label="Search">
39+
id="search-main" autocomplete="off" placeholder="Search" aria-label="Search">
4040
</form>
4141
</li>
4242
</ul>

src/_includes/navigation-side.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="sidenav" class="">
22
<form action="/search/" class="site-header__search form-inline">
33
<input class="site-header__searchfield form-control search-field" type="search" name="q"
4-
id="q" autocomplete="off" placeholder="Search" aria-label="Search">
4+
id="search-side" autocomplete="off" placeholder="Search" aria-label="Search">
55
</form>
66

77
<div class="site-sidebar">

0 commit comments

Comments
 (0)