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
|
@ -25,16 +25,16 @@
|
||||||
<a class="navbar-item" href="/">
|
<a class="navbar-item" href="/">
|
||||||
<img class="image logo" src="/static/images/logo-small.png" alt="BookWyrm">
|
<img class="image logo" src="/static/images/logo-small.png" alt="BookWyrm">
|
||||||
</a>
|
</a>
|
||||||
<form class="navbar-item" action="/search/">
|
<form class="navbar-item" action="/search/">
|
||||||
<div class="field is-grouped">
|
<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">
|
<button class="button" type="submit">
|
||||||
<span class="icon icon-search">
|
<span class="icon icon-search">
|
||||||
<span class="is-sr-only">search</span>
|
<span class="is-sr-only">search</span>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<label for="main-nav" role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="mainNav">
|
<label for="main-nav" role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="mainNav">
|
||||||
<span aria-hidden="true"></span>
|
<span aria-hidden="true"></span>
|
||||||
|
|
Loading…
Reference in a new issue