Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2668)

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs

Issue 2016003002: Collapse description into either value or name, and value into name if duplicated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@read_window_chain
Patch Set: More test fixes. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
index 0340e2590cc80ed2f5b052e1984cbce6d1b65286..e8f8475cbda6d72897e4793e480ee88d8862eab9 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
@@ -857,3 +857,16 @@ TEST_F('BackgroundTest', 'DisappearingObject', function() {
mockFeedback.replay();
});
});
+
+TEST_F('BackgroundTest', 'ButtonNameValueDescription', function() {
+ var mockFeedback = this.createMockFeedback();
+ this.runWithLoadedTree(function(root) {/*!
+ <input type="submit" aria-label="foo" value="foo"></input>
+ */}, function(root) {
+ var btn = root.find({role: RoleType.button});
+ mockFeedback.call(btn.focus.bind(btn))
+ .expectSpeech('foo')
+ .expectSpeech('Button')
+ .replay();
+ });
+});
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698