Layout
AppSkipLink
The first focusable element of the app shell: a link that appears on Tab and moves the focus past the sidebar and the navbar to the page content.
components/layout/AppSkipLink.vue
Example
Click here and press Tab: the link appears at the top of the window.
Skip to content The main content receives the focus.
The default layout renders it before the sidebar and gives v-main the main-content id with tabindex="-1", so keyboard and screen reader users reach the page in one keystroke.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
target | string | "main-content" | The id of the element that receives the focus. Defaults to main-content. |