aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-15 14:07:35 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-16 11:55:12 +0200
commitf4b2d7a4115814b64ff291e3518fe15f2dfbe390 (patch)
tree15cf5f2edc99e614b32007e7dca2af3fcb78a1cf /tests/unit/autocomplete
parentc0f6b0ccdf69c705a03e30778ae318e0cd8a0625 (diff)
downloadjquery-ui-f4b2d7a4115814b64ff291e3518fe15f2dfbe390.tar.gz
jquery-ui-f4b2d7a4115814b64ff291e3518fe15f2dfbe390.zip
Autocomplete: ARIA live region as extension, adding a messages option. Fixes #7840 - Autocomplete: popup results not read by screen-readers
Diffstat (limited to 'tests/unit/autocomplete')
-rw-r--r--tests/unit/autocomplete/autocomplete_common.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/autocomplete/autocomplete_common.js b/tests/unit/autocomplete/autocomplete_common.js
index c090ce4df..e1d24ef8d 100644
--- a/tests/unit/autocomplete/autocomplete_common.js
+++ b/tests/unit/autocomplete/autocomplete_common.js
@@ -4,6 +4,10 @@ TestHelpers.commonWidgetTests( "autocomplete", {
autoFocus: false,
delay: 300,
disabled: false,
+ messages: {
+ noResults: "No search results.",
+ results: $.ui.autocomplete.prototype.options.messages.results
+ },
minLength: 1,
position: {
my: "left top",