From 2897b9b011e258fa7042b2d708c216e46773acfa Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Thu, 15 Dec 2016 11:15:26 -0800 Subject: [PATCH] chore: disable color-constrast check for axe (#2226) --- test/protractor.conf.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/protractor.conf.js b/test/protractor.conf.js index c613290a021..79efefaa8fa 100644 --- a/test/protractor.conf.js +++ b/test/protractor.conf.js @@ -27,6 +27,9 @@ const config = { rules: [ // Exclude md-menu elements because those are empty if not active. { id: 'aria-required-children', selector: '*:not(md-menu)' }, + + // Disable color constrast checks since the final colors will vary based on the theme. + { id: 'color-contrast', enabled: false }, ] } ]