fix(a11y): add more aria labels
This commit is contained in:
parent
9ad79d5f37
commit
59e365591d
11 changed files with 15 additions and 9 deletions
|
@ -25,6 +25,7 @@ const toggleFollowTag = async () => {
|
|||
<button
|
||||
rounded group focus:outline-none
|
||||
hover:text-primary focus-visible:text-primary
|
||||
:aria-label="tag.following ? `Unfollow ${tag.name} tag` : `Follow ${tag.name} tag`"
|
||||
@click="toggleFollowTag()"
|
||||
>
|
||||
<CommonTooltip placement="bottom" :content="tag.following ? 'Unfollow' : 'Follow'">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue