| Index: chrome/test/data/webui/test_api.js
|
| diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js
|
| index 6bf21775e2e49e6fedada2cc0cfb97356b50ecda..45f4a8d0ed370f4f0ff58bae59e09187fca8f053 100644
|
| --- a/chrome/test/data/webui/test_api.js
|
| +++ b/chrome/test/data/webui/test_api.js
|
| @@ -142,12 +142,18 @@ var testing = {};
|
| if (!this.accessibilityAuditConfig_) {
|
| this.accessibilityAuditConfig_ = new axs.AuditConfiguration();
|
|
|
| - // The "elements with meaningful background image" accessibility
|
| - // audit (AX_IMAGE_01) does not apply, since Chrome doesn't
|
| - // disable background images in high-contrast mode like some
|
| - // browsers do.
|
| - this.accessibilityAuditConfig_.ignoreSelectors(
|
| - "elementsWithMeaningfulBackgroundImage", "*");
|
| + this.accessibilityAuditConfig_.auditRulesToIgnore = [
|
| + // The "elements with meaningful background image" accessibility
|
| + // audit (AX_IMAGE_01) does not apply, since Chrome doesn't
|
| + // disable background images in high-contrast mode like some
|
| + // browsers do.
|
| + "elementsWithMeaningfulBackgroundImage",
|
| +
|
| + // Most WebUI pages are inside an IFrame, so the "web page should
|
| + // have a title that describes topic or purpose" test (AX_TITLE_01)
|
| + // generally does not apply.
|
| + "pageWithoutTitle"
|
| + ];
|
| }
|
| return this.accessibilityAuditConfig_;
|
| },
|
|
|