File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,14 @@ test("accessibility", function () {
12
12
button . simulate ( "focus" ) ;
13
13
links = menu . find ( "li.ui-menu-item a" ) ;
14
14
15
- expect ( 12 + links . length * 2 ) ;
15
+ expect ( 13 + links . length * 2 ) ;
16
16
17
17
equal ( button . attr ( "role" ) , "combobox" , "button link role" ) ;
18
18
equal ( button . attr ( "aria-haspopup" ) , "true" , "button link aria-haspopup" ) ;
19
19
equal ( button . attr ( "aria-expanded" ) , "false" , "button link aria-expanded" ) ;
20
20
equal ( button . attr ( "aria-autocomplete" ) , "list" , "button link aria-autocomplete" ) ;
21
21
equal ( button . attr ( "aria-owns" ) , menu . attr ( "id" ) , "button link aria-owns" ) ;
22
+ equal ( button . attr ( "aria-labelledby" ) , element . prev ( "label" ) . attr ( "id" ) , "button link aria-labelledby" ) ;
22
23
equal ( button . attr ( "tabindex" ) , 0 , "button link tabindex" ) ;
23
24
24
25
equal ( menu . attr ( "role" ) , "listbox" , "menu role" ) ;
You can’t perform that action at this time.
0 commit comments