@@ -23,7 +23,7 @@ export default class PageLevelProgressNavigationView extends NavigationButtonVie
23
23
role : attributes . _role === 'button' ? undefined : attributes . _role ,
24
24
'data-order' : attributes . _order ,
25
25
'data-tooltip-id' : 'pagelevelprogress' ,
26
- 'aria-expanded ' : false
26
+ 'aria-haspopup ' : 'dialog'
27
27
} ;
28
28
}
29
29
@@ -53,8 +53,7 @@ export default class PageLevelProgressNavigationView extends NavigationButtonVie
53
53
this . listenTo ( Adapt , {
54
54
remove : this . remove ,
55
55
'router:location' : this . updateProgressBar ,
56
- 'view:childAdded pageLevelProgress:update' : this . refreshProgressBar ,
57
- 'drawer:closed' : this . drawerClosed
56
+ 'view:childAdded pageLevelProgress:update' : this . refreshProgressBar
58
57
} ) ;
59
58
this . listenTo ( data , 'change:_isLocked change:_isVisible change:_isComplete' , this . refreshProgressBar ) ;
60
59
}
@@ -99,13 +98,8 @@ export default class PageLevelProgressNavigationView extends NavigationButtonVie
99
98
this . updateProgressBar ( ) ;
100
99
}
101
100
102
- drawerClosed ( ) {
103
- this . $el . attr ( 'aria-expanded' , false ) ;
104
- }
105
-
106
101
onProgressClicked ( event ) {
107
102
if ( event && event . preventDefault ) event . preventDefault ( ) ;
108
- this . $el . attr ( 'aria-expanded' , true ) ;
109
103
drawer . openCustomView ( new PageLevelProgressView ( {
110
104
collection : this . collection
111
105
} ) . $el , false , this . model . get ( '_drawerPosition' ) ) ;
0 commit comments