chore: update skip components

userquin/feat-add-accesskeys
userquin 2024-04-06 00:52:02 +02:00
rodzic ec741923f7
commit 0b12a67339
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ defineProps<{
back?: boolean
/** Do not applying overflow hidden to let use floatable components in title */
noOverflowHidden?: boolean
/** Show the skip content link */
/** Add the skip content link: it is the translation key */
skipContent?: string
}>()

Wyświetl plik

@ -5,7 +5,7 @@ export default defineComponent({
setup() {
const { t } = useI18n()
return () => h('a', {
id: 'skip',
id: 'skip-navigation',
class: 'sr-only',
href: '#skip-content',
accesskey: accessKeys.SkipContent,