1
0
Fork 0

Screenreader tweaks

This commit is contained in:
Mouse Reeve 2021-01-16 14:33:43 -08:00
parent 8532c9a46b
commit fa56ae873b
3 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@
<div class="control">
<input type="number" class="input" name="goal" id="id_goal" value="{% if goal %}{{ goal.goal }}{% else %}12{% endif %}">
</div>
<p class="button is-static">books</p>
<p class="button is-static" aria-hidden="true">books</p>
</div>
</div>

View file

@ -6,5 +6,5 @@
{% endif %}
{% if goal.user == request.user %}You've{% else %}{{ goal.user.display_name }} has{% endif %} read {% if request.path != goal.local_path %}<a href="{{ goal.local_path }}">{% endif %}{{ goal.book_count }} of {{ goal.goal }} books{% if request.path != goal.local_path %}</a>{% endif %}.
</p>
<progress class="progress is-large" value="{{ goal.book_count }}" max="{{ goal.goal }}">{{ goal.progress_percent }}%</progress>
<progress class="progress is-large" value="{{ goal.book_count }}" max="{{ goal.goal }}" aria-hidden="true">{{ goal.progress_percent }}%</progress>