summaryrefslogtreecommitdiffstats
path: root/templates/activities/_like.html
diff options
context:
space:
mode:
authorMichael Manfre2022-12-07 11:12:43 -0500
committerGitHub2022-12-07 09:12:43 -0700
commit25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844 (patch)
treed33ed6a8a1d06c42dc197ab43f9beccf8f43e89f /templates/activities/_like.html
parent7413dab0520b68bfb7d96805b44cc3e384113aec (diff)
downloadtakahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.tar.gz
takahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.tar.bz2
takahe-25b8bf6a2e5cdbf921ca8ba4a994f57c1c859844.zip
Keyboard navigation
Diffstat (limited to 'templates/activities/_like.html')
-rw-r--r--templates/activities/_like.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/activities/_like.html b/templates/activities/_like.html
index 8eec8cd..07dc01d 100644
--- a/templates/activities/_like.html
+++ b/templates/activities/_like.html
@@ -1,9 +1,9 @@
{% if post.pk in interactions.like %}
- <a title="Unlike" class="active" hx-post="{{ post.urls.action_unlike }}" hx-swap="outerHTML">
+ <a title="Unlike" class="active" hx-post="{{ post.urls.action_unlike }}" hx-swap="outerHTML" role="menuitem">
<i class="fa-solid fa-star"></i>
</a>
{% else %}
- <a title="Like" hx-post="{{ post.urls.action_like }}" hx-swap="outerHTML">
+ <a title="Like" hx-post="{{ post.urls.action_like }}" hx-swap="outerHTML" role="menuitem">
<i class="fa-solid fa-star"></i>
</a>
{% endif %}