feat(a11y): enhance post-related a11y features (#2328)

This commit is contained in:
lazzzis 2023-08-12 03:26:37 -07:00 committed by GitHub
parent 5a765187ab
commit 4325bca22b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 6 deletions

View file

@ -55,9 +55,10 @@ useCommand({
:hover=" !disabled ? hover : undefined"
focus:outline-none
:focus-visible="hover"
:class="active ? color : (disabled ? 'op25 pointer-events-none' : 'text-secondary')"
:class="active ? color : (disabled ? 'op25 cursor-not-allowed' : 'text-secondary')"
:aria-label="content"
:disabled="disabled"
:aria-disabled="disabled"
>
<CommonTooltip placement="bottom" :content="content">
<div