This repository was archived by the owner on Sep 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +47
-3
lines changed
packages/c-skip-nav/examples Expand file tree Collapse file tree 2 files changed +47
-3
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <c-box position =" relative" >
3
+ <c-skip-nav-link > HELLO CSkipNav </c-skip-nav-link >
4
+ <c-skip-nav-content >
5
+ <main >
6
+ <c-text >
7
+ To test the SkipNav Components:
8
+ <c-list mb =" 4" >
9
+ <c-list-item >
10
+ <c-list-icon name =" chevron-right" />
11
+ Place focus on the below input
12
+ </c-list-item >
13
+ <c-list-item >
14
+ <c-list-icon name =" chevron-right" />
15
+ Press <c-kbd >Shift + Tab</c-kbd > to make the
16
+ <c-code >SkipNavLink</c-code > appear
17
+ </c-list-item >
18
+ <c-list-item >
19
+ <c-list-icon name =" chevron-right" />
20
+ Hit <c-kbd >Enter</c-kbd >.
21
+ </c-list-item >
22
+ <c-list-item >
23
+ <c-list-icon name =" chevron-right" />
24
+ You should now see the focus over all the content with a blue
25
+ outline.
26
+ </c-list-item >
27
+ </c-list >
28
+ </c-text >
29
+ <label >Example Form Search</label >
30
+ <CInput placeholder =" Search" />
31
+ </main >
32
+ </c-skip-nav-content >
33
+ </c-box >
34
+ </template >
35
+ <script lang="ts" setup>
36
+ import {
37
+ CBox ,
38
+ CCode ,
39
+ CInput ,
40
+ CKbd ,
41
+ CList ,
42
+ CListItem ,
43
+ CSkipNavContent ,
44
+ CSkipNavLink ,
45
+ CText ,
46
+ } from " @chakra-ui/vue-next"
47
+ </script >
You can’t perform that action at this time.
0 commit comments