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

Unified Diff: chrome/browser/ui/webui/options/content_options_browsertest.js

Issue 646853004: Enable a11y audit for chrome://settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 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/content_options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/content_options_browsertest.js b/chrome/browser/ui/webui/options/content_options_browsertest.js
index 1c714053b188be7f1826ef2983d9f610149a245a..55e90ca49f245c3448a3dac3f8ac8fa6db6b7028 100644
--- a/chrome/browser/ui/webui/options/content_options_browsertest.js
+++ b/chrome/browser/ui/webui/options/content_options_browsertest.js
@@ -14,8 +14,23 @@ ContentOptionsWebUITest.prototype = {
/**
* Browse to content options.
+ * @override
*/
browsePreload: 'chrome://settings-frame/content',
+
+ /** @override */
+ runAccessibilityChecks: true,
+
+ /** @override */
+ accessibilityIssuesAreErrors: true,
+
+ /** @override */
+ setUp: function() {
+ // user-image-stream is a streaming video element used for capturing a
+ // user image.
+ this.accessibilityAuditConfig.ignoreSelectors('videoWithoutCaptions',
Dan Beam 2014/11/07 05:43:19 might be useful to somehow make a class that does
+ '.user-image-stream');
+ },
};
// Test opening the content options has correct location.

Powered by Google App Engine
This is Rietveld 408576698