Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fixing Focus Order by Rearranging Element Sequence #673

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions src/_includes/components/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@
<p class="visually-hidden" id="search-hint">{{ site.blog_page.search.hint }}</p>
<div class="search__inner-input-wrapper">
<input type="search" id="search" class="search__input" autocomplete="off" aria-describedby="search-hint" pattern="\S+">
<a class="search_powered-by-wrapper" href="https://www.algolia.com/developers/?utm_source=eslint&amp;utm_medium=referral&amp;utm_content=powered_by&amp;utm_campaign=docsearch" target="_blank" rel="noopener noreferrer">
<div id="search-results" class="search-results"></div>
<button class="search__clear-btn" id="search__clear-btn" hidden>
<span class="visually-hidden">{{ site.blog_page.search.clear }}</span>
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false">
<path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
<a class="search_powered-by-wrapper"
href="https://www.algolia.com/developers/?utm_source=eslint&amp;utm_medium=referral&amp;utm_content=powered_by&amp;utm_campaign=docsearch"
target="_blank" rel="noopener noreferrer">
<div class="search__powered-by">
<span class="powered-by-text">Powered by</span>
<svg width="77" height="19" aria-label="Algolia" role="img" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
Expand Down Expand Up @@ -42,14 +51,7 @@
</svg>
</div>
</a>
<button class="search__clear-btn" id="search__clear-btn" hidden>
<span class="visually-hidden">{{ site.blog_page.search.clear }}</span>
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false">
<path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
</div>
</div>
<div id="search-results-announcement" class="visually-hidden" aria-live="polite" aria-atomic="true"></div>
<div id="search-results" class="search-results"></div>
</div>
Loading