File tree 1 file changed +12
-9
lines changed
src/client/theme-default/components
1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ useActiveAnchor(container, marker)
25
25
</script >
26
26
27
27
<template >
28
- <div
28
+ <nav
29
+ aria-labelledby =" doc-outline-aria-label"
29
30
class =" VPDocAsideOutline"
30
31
:class =" { 'has-outline': headers.length > 0 }"
31
32
ref =" container"
@@ -34,16 +35,18 @@ useActiveAnchor(container, marker)
34
35
<div class =" content" >
35
36
<div class =" outline-marker" ref =" marker" />
36
37
37
- <div class =" outline-title" role =" heading" aria-level =" 2" >{{ resolveTitle(theme) }}</div >
38
+ <div
39
+ aria-level =" 2"
40
+ class =" outline-title"
41
+ id =" doc-outline-aria-label"
42
+ role =" heading"
43
+ >
44
+ {{ resolveTitle(theme) }}
45
+ </div >
38
46
39
- <nav aria-labelledby =" doc-outline-aria-label" >
40
- <span class =" visually-hidden" id =" doc-outline-aria-label" >
41
- Table of Contents for current page
42
- </span >
43
- <VPDocOutlineItem :headers =" headers" :root =" true" />
44
- </nav >
47
+ <VPDocOutlineItem :headers =" headers" :root =" true" />
45
48
</div >
46
- </div >
49
+ </nav >
47
50
</template >
48
51
49
52
<style scoped>
You can’t perform that action at this time.
0 commit comments