Add aria for react button
This commit is contained in:
parent
0b2f676e50
commit
48ee11fea3
|
@ -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)"
|
||||
>
|
||||
<span
|
||||
|
@ -19,7 +21,6 @@
|
|||
<img
|
||||
v-if="reaction.url"
|
||||
:src="reaction.url"
|
||||
:title="reaction.name"
|
||||
class="reaction-emoji-content"
|
||||
width="1em"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue