Skip to content

Commit

Permalink
Moved search role to form
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Smyth <[email protected]>
  • Loading branch information
smythp committed Sep 27, 2023
1 parent 0362aa3 commit a03241b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ <h2 class="h5 offcanvas-title ps-2" id="offcanvasDoksLabel"><a class="text-dark"
<hr class="text-black-50 my-4 d-lg-none">

<div role="region" aria-live="polite">
<form class="doks-search position-relative flex-grow-1 ms-lg-auto me-lg-2">
<input id="search" class="form-control is-search" role="search" type="search" placeholder="{{ i18n "search-text" }}" aria-label="{{ i18n "search-aria-label" }}" autocomplete="off">
<form role="search" class="doks-search position-relative flex-grow-1 ms-lg-auto me-lg-2">
<input id="search" class="form-control is-search" type="search" placeholder="{{ i18n "search-text" }}" aria-label="{{ i18n "search-aria-label" }}" autocomplete="off">
<div id="suggestions" class="shadow bg-white rounded d-none"></div>
</form>
</div>
Expand Down

0 comments on commit a03241b

Please sign in to comment.