From fa56ae873b3abfa02e96ebdb0d92d42c51c8d68b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 16 Jan 2021 14:33:43 -0800 Subject: [PATCH] Screenreader tweaks --- bookwyrm/templates/goal.html | 8 ++++---- bookwyrm/templates/snippets/goal_form.html | 2 +- bookwyrm/templates/snippets/goal_progress.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/goal.html b/bookwyrm/templates/goal.html index c02a5474..4f477a21 100644 --- a/bookwyrm/templates/goal.html +++ b/bookwyrm/templates/goal.html @@ -13,12 +13,12 @@ {% endif %}
- +
{% now 'Y' as year %} -
+
-

+

{{ year }} reading goal

@@ -27,7 +27,7 @@ {% include 'snippets/goal_form.html' with goal=goal year=year %}
-
+
{% endif %} diff --git a/bookwyrm/templates/snippets/goal_form.html b/bookwyrm/templates/snippets/goal_form.html index b856b879..e22aa15f 100644 --- a/bookwyrm/templates/snippets/goal_form.html +++ b/bookwyrm/templates/snippets/goal_form.html @@ -10,7 +10,7 @@
-

books

+ diff --git a/bookwyrm/templates/snippets/goal_progress.html b/bookwyrm/templates/snippets/goal_progress.html index b727790d..997fbfbd 100644 --- a/bookwyrm/templates/snippets/goal_progress.html +++ b/bookwyrm/templates/snippets/goal_progress.html @@ -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 %}{% endif %}{{ goal.book_count }} of {{ goal.goal }} books{% if request.path != goal.local_path %}{% endif %}.

-{{ goal.progress_percent }}% +