From 982f734ce798201e013faf0a7e3d507020034f9b Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 30 Sep 2020 15:10:37 -0700 Subject: [PATCH] Use bulma screen-reader-only class --- bookwyrm/static/css/format.css | 8 -------- bookwyrm/templates/book.html | 2 +- bookwyrm/templates/edit_book.html | 2 +- bookwyrm/templates/layout.html | 4 ++-- bookwyrm/templates/snippets/create_status.html | 4 ++-- bookwyrm/templates/snippets/interaction.html | 16 ++++++++-------- bookwyrm/templates/snippets/rate_action.html | 4 ++-- bookwyrm/templates/snippets/shelve_button.html | 2 +- bookwyrm/templates/snippets/stars.html | 2 +- bookwyrm/templates/snippets/status.html | 2 +- bookwyrm/templates/snippets/tag.html | 4 ++-- bookwyrm/templates/user_header.html | 2 +- 12 files changed, 22 insertions(+), 30 deletions(-) diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index 541c0d071..842e7d2fa 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -1,12 +1,4 @@ /* --- ICONS --- */ -.hidden-text { - height: 0; - width: 0; - position: absolute; - overflow: hidden; -} - - /* --- TOGGLES --- */ input.toggle-control { display: none; diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index 5e88e1379..7d52572ec 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -12,7 +12,7 @@
edit - Edit Book + Edit Book
diff --git a/bookwyrm/templates/edit_book.html b/bookwyrm/templates/edit_book.html index 6e2ff1fbf..5afe192d7 100644 --- a/bookwyrm/templates/edit_book.html +++ b/bookwyrm/templates/edit_book.html @@ -9,7 +9,7 @@
- Close + Close
diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 5fe1664cd..829f781eb 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -30,7 +30,7 @@ @@ -87,7 +87,7 @@
- Notitications + Notitications {% if request.user|notification_count %} diff --git a/bookwyrm/templates/snippets/create_status.html b/bookwyrm/templates/snippets/create_status.html index 57386b791..8cc2b6229 100644 --- a/bookwyrm/templates/snippets/create_status.html +++ b/bookwyrm/templates/snippets/create_status.html @@ -29,13 +29,13 @@
- Rating + Rating
{% for i in '12345'|make_list %} {% endfor %}
diff --git a/bookwyrm/templates/snippets/interaction.html b/bookwyrm/templates/snippets/interaction.html index 9706ca6b3..8680df8de 100644 --- a/bookwyrm/templates/snippets/interaction.html +++ b/bookwyrm/templates/snippets/interaction.html @@ -8,7 +8,7 @@
@@ -18,7 +18,7 @@ {% csrf_token %} @@ -26,7 +26,7 @@ {% csrf_token %} @@ -35,7 +35,7 @@ {% csrf_token %} @@ -43,22 +43,22 @@ {% csrf_token %} {% else %} - Comment + Comment - Boost status + Boost status - Like status + Like status {% endif %} diff --git a/bookwyrm/templates/snippets/rate_action.html b/bookwyrm/templates/snippets/rate_action.html index eb0b87d82..391540171 100644 --- a/bookwyrm/templates/snippets/rate_action.html +++ b/bookwyrm/templates/snippets/rate_action.html @@ -1,5 +1,5 @@ {% load fr_display %} -Leave a rating +Leave a rating
{% for i in '12345'|make_list %}
@@ -7,7 +7,7 @@
{% endfor %} diff --git a/bookwyrm/templates/snippets/shelve_button.html b/bookwyrm/templates/snippets/shelve_button.html index 2f6e79628..c5b7aa0ea 100644 --- a/bookwyrm/templates/snippets/shelve_button.html +++ b/bookwyrm/templates/snippets/shelve_button.html @@ -11,7 +11,7 @@