diff --git a/components/main/MainContent.vue b/components/main/MainContent.vue index 8a55a165..370b9002 100644 --- a/components/main/MainContent.vue +++ b/components/main/MainContent.vue @@ -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 }>() diff --git a/components/skip/SkipContent.ts b/components/skip/SkipContent.ts index 872a4b01..be411ac7 100644 --- a/components/skip/SkipContent.ts +++ b/components/skip/SkipContent.ts @@ -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,