mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 02:06:12 +03:00
chore: update skip components
This commit is contained in:
parent
ec741923f7
commit
0b12a67339
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue