forgot to give aria to close button o o p s
This commit is contained in:
parent
ba30a9a55b
commit
d9211926bc
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
<i v-if="warn" class="ph-warning ph-bold ph-lg"></i>
|
||||
<i v-else class="ph-bold ph-lg" :class="icon ? `ph-${icon}` : 'ph-info'"></i>
|
||||
<slot></slot>
|
||||
<button v-if="closeable" class="_button close" @click.stop="close">
|
||||
<button v-if="closeable" v-tooltip="i18n.ts.close" class="_button close" @click.stop="close">
|
||||
<i class="ph-x ph-bold ph-lg"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -11,6 +11,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import { i18n } from "@/i18n";
|
||||
|
||||
const visible = ref(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue