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

Side by Side Diff: chrome/browser/ui/webui/options/options_browsertest_base.js

Issue 1447693002: [a11y] Bring accessibility-audit up to date: v2.10.0 release. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor ignored checks, simplify some selectors, add crbugs. Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 */ 8 */
9 function OptionsBrowsertestBase() {} 9 function OptionsBrowsertestBase() {}
10 10
11 OptionsBrowsertestBase.prototype = { 11 OptionsBrowsertestBase.prototype = {
12 __proto__: testing.Test.prototype, 12 __proto__: testing.Test.prototype,
13 13
14 /** @override */ 14 /** @override */
15 runAccessibilityChecks: true, 15 runAccessibilityChecks: true,
16 16
17 /** @override */ 17 /** @override */
18 accessibilityIssuesAreErrors: true, 18 accessibilityIssuesAreErrors: true,
19
20 /** @override */
21 setUp: function() {
22 testing.Test.prototype.setUp.call(this);
23
24 var requiredOwnedAriaRoleMissingSelectors = [
25 '#address-list',
26 '#creditcard-list',
27 '#home-page-overlay > .autocomplete-suggestions',
28 '#language-options-list',
29 '#manage-profile-icon-grid',
30 '#create-profile-icon-grid',
31 '#saved-passwords-list',
32 '#password-exceptions-list',
33 '#extension-keyword-list',
34 '#startup-overlay > .autocomplete-suggestions',
35 '#content-settings-exceptions-area > .content-area > *',
36 '#cookies-list',
37 '#handlers-list',
38 '#ignored-handlers-list',
39 '#supervised-user-list',
40 '#select-avatar-grid',
41 '#language-dictionary-overlay-word-list',
42 ];
43
44 // Enable when failure is resolved.
45 // AX_ARIA_08: http://crbug.com/559265
46 requiredOwnedAriaRoleMissingSelectors.forEach(function(selector) {
47 this.accessibilityAuditConfig.ignoreSelectors(
48 'requiredOwnedAriaRoleMissing',
49 selector);
50 }.bind(this));
51 },
19 }; 52 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698