File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 23
23
select : function ( event , ui ) {
24
24
$ ( this ) . hide ( ) ;
25
25
$ ( "#log" ) . append ( "<div>Selected " + ui . item . text ( ) + "</div>" ) ;
26
- } ,
27
- input : $ ( this )
26
+ }
28
27
} ) . hide ( ) ;
29
28
} ) . click ( function ( event ) {
30
29
var menu = $ ( this ) . next ( ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ test("accessibility", function () {
14
14
15
15
ok ( ac . hasClass ( "ui-menu ui-widget ui-widget-content ui-corner-all" ) , "menu class" ) ;
16
16
equals ( ac . attr ( "role" ) , "listbox" , "main role" ) ;
17
- equals ( ac . attr ( "aria-activedescendant" ) , undefined , "aria attribute not yet active" ) ;
17
+ ok ( ! ac . attr ( "aria-activedescendant" ) , "aria attribute not yet active" ) ;
18
18
var item = ac . find ( "li:first" ) . find ( "a" ) . attr ( "id" , "xid" ) . end ( ) ;
19
19
ac . menu ( "focus" , $ . Event ( ) , item ) ;
20
20
equals ( ac . attr ( "aria-activedescendant" ) , "xid" , "aria attribute, id from dom" ) ;
You can’t perform that action at this time.
0 commit comments