feat(a11y): improve dropdown item and action button accessiblity (#251)

This commit is contained in:
Alex 2022-11-30 21:00:54 +08:00 committed by GitHub
parent e11bf53f86
commit e0a1ceea43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -45,6 +45,7 @@ useCommand({
v-bind="$attrs" ref="el"
flex gap-3 items-center cursor-pointer px4 py3
hover-bg-active
:aria-label="text"
@click="handleClick"
>
<div v-if="icon" :class="icon" />