Client - improve keyboard navigation

This commit is contained in:
Sam
2023-07-13 12:54:45 +02:00
parent 6653648422
commit 3f672b5e90
11 changed files with 165 additions and 47 deletions

View File

@ -22,8 +22,8 @@
{{ $t('buttons.YES') }}
</button>
<button
tabindex="0"
id="cancel-button"
:tabindex="0"
:id="`${name}-cancel-button`"
class="cancel"
@click="emit('cancelAction')"
>
@ -46,9 +46,11 @@
title: string
message: string
strongMessage?: string | null
name?: string | null
}
const props = withDefaults(defineProps<Props>(), {
strongMessage: () => null,
name: 'modal',
})
const emit = defineEmits(['cancelAction', 'confirmAction'])