File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
.ui-menu .ui-menu-item a {
33
33
font-weight : normal;
34
34
}
35
- .ui-menu .ui-menu-item a .ui-state-hover ,
35
+ .ui-menu .ui-menu-item a .ui-state-focus ,
36
36
.ui-menu .ui-menu-item a .ui-state-active {
37
37
font-weight : normal;
38
38
margin : -1px ;
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ $.widget("ui.menu", {
136
136
}
137
137
this . active = item . first ( )
138
138
. children ( "a" )
139
- . addClass ( "ui-state-hover " )
139
+ . addClass ( "ui-state-focus " )
140
140
. attr ( "id" , function ( index , id ) {
141
141
return ( self . itemId = id || self . menuId + "-activedescendant" ) ;
142
142
} )
@@ -153,7 +153,7 @@ $.widget("ui.menu", {
153
153
}
154
154
155
155
var self = this ;
156
- this . active . children ( "a" ) . removeClass ( "ui-state-hover " ) ;
156
+ this . active . children ( "a" ) . removeClass ( "ui-state-focus " ) ;
157
157
// remove only generated id
158
158
$ ( "#" + self . menuId + "-activedescendant" ) . removeAttr ( "id" ) ;
159
159
this . element . removeAttr ( "aria-activedescenant" ) ;
You can’t perform that action at this time.
0 commit comments