1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-15 05:19:58 +00:00

chore: update skip components

This commit is contained in:
userquin 2024-04-06 00:52:02 +02:00
parent ec741923f7
commit 0b12a67339
2 changed files with 2 additions and 2 deletions

View file

@ -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
}>()

View file

@ -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,