diff --git a/tests/unit/autocomplete/core.js b/tests/unit/autocomplete/core.js index d2779e11095..a2a36cb4c1c 100644 --- a/tests/unit/autocomplete/core.js +++ b/tests/unit/autocomplete/core.js @@ -345,11 +345,11 @@ QUnit.test( "ARIA", function( assert ) { assert.equal( liveRegion.parent().length, 0, "The liveRegion should be detached after destroy" ); ready(); - }, 500 ); - }, 500 ); - }, 500 ); - }, 500 ); - }, 500 ); + }, 110 ); + }, 110 ); + }, 110 ); + }, 110 ); + }, 110 ); } ); QUnit.test( "ARIA, aria-label announcement", function( assert ) { @@ -374,7 +374,7 @@ QUnit.test( "ARIA, aria-label announcement", function( assert ) { assert.equal( liveRegion.children().filter( ":visible" ).text(), "People : anders andersson", "Live region changed on keydown to announce the highlighted value's aria-label attribute" ); ready(); - }, 500 ); + }, 110 ); } ); QUnit.test( "ARIA, init on detached input", function( assert ) { diff --git a/ui/widgets/autocomplete.js b/ui/widgets/autocomplete.js index ddfa92f6841..1f50a42bf19 100644 --- a/ui/widgets/autocomplete.js +++ b/ui/widgets/autocomplete.js @@ -272,7 +272,7 @@ $.widget( "ui.autocomplete", { var that = this; this.liveRegionTimer = setTimeout( function() { that.liveRegion.html( $( "