forked from mirrors/bookwyrm
Add label text to search input
For use by screenreaders.
This commit is contained in:
parent
9c084f61a2
commit
b684e929b4
1 changed files with 10 additions and 10 deletions
|
@ -27,7 +27,7 @@
|
|||
</a>
|
||||
<form class="navbar-item" action="/search/">
|
||||
<div class="field is-grouped">
|
||||
<input class="input" type="text" name="q" placeholder="Search for a book or user" value="{{ query }}">
|
||||
<input aria-label="Search for a book or user" id="search-input" class="input" type="text" name="q" placeholder="Search for a book or user" value="{{ query }}">
|
||||
<button class="button" type="submit">
|
||||
<span class="icon icon-search">
|
||||
<span class="is-sr-only">search</span>
|
||||
|
|
Loading…
Reference in a new issue