| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
|
| index 34c56220f68c18acf78a554d2db29e4a12134357..bfc17a97de273f362c08ebf007b34d4d73de86cb 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
|
| @@ -772,3 +772,19 @@ TEST_F('OutputE2ETest', 'RangeOutput', function() {
|
| o);
|
| });
|
| });
|
| +
|
| +TEST_F('OutputE2ETest', 'RoleDescription', function() {
|
| + this.runWithLoadedTree(function(root) {/*!
|
| + <div aria-label="hi" role="button" aria-roledescription="foo"></div>
|
| + */}, function(root) {
|
| + var obj = root.find({role: RoleType.BUTTON});
|
| + var o = new Output().withSpeech(cursors.Range.fromNode(obj));
|
| + checkSpeechOutput('hi|foo',
|
| + [
|
| + {value: 'name', start: 0, end: 2},
|
| + {value: new Output.EarconAction('BUTTON'), start: 0, end: 2},
|
| + {value: 'role', start: 3, end: 6}
|
| + ],
|
| + o);
|
| + });
|
| +});
|
|
|