chore: add aria-label on close buttons

This commit is contained in:
Benjamin Canac
2023-09-12 10:59:26 +02:00
parent e2d4ba529d
commit 6f77ee80ce
3 changed files with 3 additions and 9 deletions

View File

@@ -25,7 +25,7 @@
<UButton v-for="(action, index) of actions" :key="index" v-bind="{ ...ui.default.actionButton, ...action }" @click.stop="action.click" />
</div>
<UButton v-if="closeButton" v-bind="{ ...ui.default.closeButton, ...closeButton }" @click.stop="$emit('close')" />
<UButton v-if="closeButton" aria-label="Close" v-bind="{ ...ui.default.closeButton, ...closeButton }" @click.stop="$emit('close')" />
</div>
</div>
</div>