File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
docs/dokka-presets/scripts Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,7 @@ function ensureNavButtonInteractable() {
83
83
// Make the navButton focusable, add accessibility information
84
84
navButton . setAttribute ( 'tabindex' , '0' ) ;
85
85
navButton . setAttribute ( 'role' , 'button' ) ;
86
-
87
- const sideMenuPartParent = navButton . closest ( ".sideMenuPart" )
88
- const navButtonExpanded = sideMenuPartParent ? ( sideMenuPartParent . classList . contains ( 'hidden' ) ? 'false' : 'true' ) : 'false'
89
- navButton . setAttribute ( 'aria-expanded' , navButtonExpanded ) ;
86
+ navButton . setAttribute ( 'aria-expanded' , 'false' ) ;
90
87
91
88
// Grab the page ID, use it for aria-label and aria-controls
92
89
const sectionName = navButton . parentElement . parentElement . getAttribute ( 'pageid' )
You can’t perform that action at this time.
0 commit comments