Associate 'tags' label to formfield
So that the tags label is read by screenreaders
This commit is contained in:
parent
2e944bceb9
commit
037697a382
|
@ -150,11 +150,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="block">
|
<div class="block">
|
||||||
<h3>Tags</h3>
|
|
||||||
<form name="tag" action="/tag/" method="post">
|
<form name="tag" action="/tag/" method="post">
|
||||||
|
<label for="tags" class="is-3">Tags</label>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="hidden" name="book" value="{{ book.id }}">
|
<input type="hidden" name="book" value="{{ book.id }}">
|
||||||
<input class="input" type="text" name="name">
|
<input id="tags" class="input" type="text" name="name">
|
||||||
<button class="button" type="submit">Add tag</button>
|
<button class="button" type="submit">Add tag</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue