Skip to content

Commit

Permalink
site: add type="search" to search input (#9263)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaiyan-dev authored Oct 20, 2023
1 parent 28d6b34 commit 522d06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/svelte.dev/src/routes/search/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<main>
<h1>Search</h1>
<form>
<input name="q" value={data.query} placeholder="Search" spellcheck="false" />
<input name="q" value={data.query} type="search" aria-label="Search" placeholder="Search" spellcheck="false" />
</form>

<SearchResults results={data.results} query={data.query} />
Expand Down

0 comments on commit 522d06a

Please sign in to comment.