Use bulma screen-reader-only class

This commit is contained in:
Mouse Reeve
2020-09-30 15:10:37 -07:00
parent ada6a79b1c
commit 982f734ce7
12 changed files with 22 additions and 30 deletions

View File

@ -30,7 +30,7 @@
<input class="input" type="text" name="q" placeholder="Search for a book or user">
<button class="button" type="submit">
<span class="icon icon-search">
<span class="hidden-text">search</span>
<span class="is-sr-only">search</span>
</span>
</button>
</div>
@ -87,7 +87,7 @@
<div class="tags has-addons">
<span class="tag is-medium">
<span class="icon icon-bell">
<span class="hidden-text">Notitications</span>
<span class="is-sr-only">Notitications</span>
</span>
</span>
{% if request.user|notification_count %}