From 48ee11fea35123090762d98f5249168679f05e3a Mon Sep 17 00:00:00 2001 From: tusooa Date: Mon, 22 May 2023 22:18:42 -0400 Subject: [PATCH] Add aria for react button --- src/components/emoji_reactions/emoji_reactions.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/emoji_reactions/emoji_reactions.vue b/src/components/emoji_reactions/emoji_reactions.vue index 3f76cdc6..1fdfb87b 100644 --- a/src/components/emoji_reactions/emoji_reactions.vue +++ b/src/components/emoji_reactions/emoji_reactions.vue @@ -11,6 +11,8 @@ role="button" class="emoji-reaction btn button-default" :class="{ '-picked-reaction': reactedWith(reaction.name) }" + :title="reaction.url ? reaction.name : undefined" + :aria-pressed="reactedWith(reaction.name)" @click="emojiOnClick(reaction.name, $event)" >