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

Unified 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: Changes per aboxhall@'s comments. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/options_browsertest_base.js
diff --git a/chrome/browser/ui/webui/options/options_browsertest_base.js b/chrome/browser/ui/webui/options/options_browsertest_base.js
index 1483ba3247ce25bad6701a6dfbf50145cc6fdc50..192760a737682c52aaf5160846ad8571a08f79ee 100644
--- a/chrome/browser/ui/webui/options/options_browsertest_base.js
+++ b/chrome/browser/ui/webui/options/options_browsertest_base.js
@@ -16,4 +16,35 @@ OptionsBrowsertestBase.prototype = {
/** @override */
accessibilityIssuesAreErrors: true,
+
+ /** @override */
+ setUp: function() {
+ testing.Test.prototype.setUp.call(this);
+
+ var requiredOwnedAriaRoleMissingSelectors = [
+ '#address-list',
+ '#creditcard-list',
+ '#home-page-overlay > .autocomplete-suggestions',
+ '#language-options-list',
+ '#manage-profile-icon-grid',
+ '#create-profile-icon-grid',
+ '#saved-passwords-list',
+ '#password-exceptions-list',
+ '#extension-keyword-list',
+ '#startup-overlay > .autocomplete-suggestions',
+ '#content-settings-exceptions-area > .content-area > *',
+ '#cookies-list',
+ '#handlers-list',
+ '#ignored-handlers-list',
+ '#supervised-user-list',
+ '#select-avatar-grid',
+ '#language-dictionary-overlay-word-list',
+ ];
+
+ // Enable when failure is resolved.
+ // AX_ARIA_08: http://crbug.com/559265
+ this.accessibilityAuditConfig.ignoreSelectors(
+ 'requiredOwnedAriaRoleMissing',
+ requiredOwnedAriaRoleMissingSelectors);
+ },
};

Powered by Google App Engine
This is Rietveld 408576698