From 7fc0302376f73028843493dfce9922665c1a353a Mon Sep 17 00:00:00 2001
From: rimu <3310831+rimu@users.noreply.github.com>
Date: Thu, 18 Jan 2024 16:15:43 +1300
Subject: [PATCH] aria attributes on buttons
---
app/templates/base.html | 8 ++++----
app/templates/post/_comment_voting_buttons.html | 4 ++--
app/templates/post/_post_teaser.html | 9 ++++-----
app/templates/post/_post_voting_buttons.html | 4 ++--
4 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/app/templates/base.html b/app/templates/base.html
index 9e38cc1f..d6e4f72d 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -97,7 +97,7 @@
diff --git a/app/templates/post/_comment_voting_buttons.html b/app/templates/post/_comment_voting_buttons.html
index 75507211..7b90c25c 100644
--- a/app/templates/post/_comment_voting_buttons.html
+++ b/app/templates/post/_comment_voting_buttons.html
@@ -1,6 +1,6 @@
{% if current_user.is_authenticated and current_user.verified %}
{% if can_upvote(current_user, community) %}
-
diff --git a/app/templates/post/_post_voting_buttons.html b/app/templates/post/_post_voting_buttons.html
index 0ccd990b..3e3f296e 100644
--- a/app/templates/post/_post_voting_buttons.html
+++ b/app/templates/post/_post_voting_buttons.html
@@ -1,6 +1,6 @@
{% if current_user.is_authenticated and current_user.verified %}
{% if can_upvote(current_user, post.community) %}
-
{{ shorten_number(post.up_votes) }}
@@ -8,7 +8,7 @@
{% endif %}
{% if can_downvote(current_user, post.community) %}
-
{{ shorten_number(post.down_votes) }}