File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,10 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
25
25
style = { { width : 326 , height : 'calc(100vh - 65px)' , top : '65px' } }
26
26
>
27
27
{ variant === 'full' && currentProduct && (
28
- < div className = { cx ( 'd-none px-4 pb-3 border-bottom d-xl-block' ) } >
28
+ < nav
29
+ className = { cx ( 'd-none px-4 pb-3 border-bottom d-xl-block' ) }
30
+ aria-labelledby = { currentProduct . name }
31
+ >
29
32
< AllProductsLink />
30
33
{ currentProduct && (
31
34
< div className = "mt-3" >
@@ -41,7 +44,7 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
41
44
</ div >
42
45
) }
43
46
{ variant === 'full' && isRestPage && < ApiVersionPicker /> }
44
- </ div >
47
+ </ nav >
45
48
) }
46
49
< div
47
50
className = { cx (
@@ -51,13 +54,11 @@ export const SidebarNav = ({ variant = 'full' }: Props) => {
51
54
style = { { width : 326 , height : 'calc(100vh - 175px)' , paddingBottom : sidebarPaddingBottom } }
52
55
role = "banner"
53
56
>
54
- < nav aria-labelledby = "title-h1" >
55
- { ! currentProduct || currentProduct . id === 'search' ? (
56
- < SidebarHomepage />
57
- ) : (
58
- < SidebarProduct />
59
- ) }
60
- </ nav >
57
+ { ! currentProduct || currentProduct . id === 'search' ? (
58
+ < SidebarHomepage />
59
+ ) : (
60
+ < SidebarProduct />
61
+ ) }
61
62
</ div >
62
63
</ div >
63
64
)
You can’t perform that action at this time.
0 commit comments