forgot to give aria to close button o o p s

This commit is contained in:
Freeplay 2023-05-29 15:19:53 -04:00
parent ba30a9a55b
commit d9211926bc

View file

@ -3,7 +3,7 @@
<i v-if="warn" class="ph-warning ph-bold ph-lg"></i> <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> <i v-else class="ph-bold ph-lg" :class="icon ? `ph-${icon}` : 'ph-info'"></i>
<slot></slot> <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> <i class="ph-x ph-bold ph-lg"></i>
</button> </button>
</div> </div>
@ -11,6 +11,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { ref } from "vue"; import { ref } from "vue";
import { i18n } from "@/i18n";
const visible = ref(true); const visible = ref(true);