Skip to content

Commit

Permalink
Properly mark search input as such
Browse files Browse the repository at this point in the history
Allows browsers to customize certian aspects (e.g. keyboard) to better fit
a search box compared to generic text
  • Loading branch information
Insprill committed Apr 29, 2024
1 parent dc4c162 commit 97f2f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="panel-container">
<div class="search-bar">
<form method="get" action="/search" autocomplete="off">
<input type="text" required="true" name="q" autofocus="" placeholder="Enter search query..." dir="auto"/>
<input type="search" required="true" name="q" autofocus="" placeholder="Enter search query..." dir="auto"/>
<button type="submit">
Search
</button>
Expand Down

0 comments on commit 97f2f06

Please sign in to comment.