mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Menu tests: Modify test to check for id's generated by the new uniqueId method
This commit is contained in:
parent
d44f3d079e
commit
1f60380413
@ -23,7 +23,7 @@ test("accessibility", function () {
|
||||
|
||||
item = menu.find( "li:last" );
|
||||
menu.menu( "focus", $.Event(), item );
|
||||
equal( menu.attr("aria-activedescendant"), "menu1-4", "aria attribute, generated id");
|
||||
ok( /ui-id-\d+$/.test( menu.attr( "aria-activedescendant" ) ), "aria attribute, generated id");
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
Loading…
Reference in New Issue
Block a user