chore: update skip components
This commit is contained in:
parent
ec741923f7
commit
0b12a67339
@ -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
|
||||
}>()
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user