mirror of
https://github.com/elk-zone/elk.git
synced 2025-02-17 15:59:49 +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
|
back?: boolean
|
||||||
/** Do not applying overflow hidden to let use floatable components in title */
|
/** Do not applying overflow hidden to let use floatable components in title */
|
||||||
noOverflowHidden?: boolean
|
noOverflowHidden?: boolean
|
||||||
/** Show the skip content link */
|
/** Add the skip content link: it is the translation key */
|
||||||
skipContent?: string
|
skipContent?: string
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ export default defineComponent({
|
||||||
setup() {
|
setup() {
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
return () => h('a', {
|
return () => h('a', {
|
||||||
id: 'skip',
|
id: 'skip-navigation',
|
||||||
class: 'sr-only',
|
class: 'sr-only',
|
||||||
href: '#skip-content',
|
href: '#skip-content',
|
||||||
accesskey: accessKeys.SkipContent,
|
accesskey: accessKeys.SkipContent,
|
||||||
|
|
Loading…
Add table
Reference in a new issue