Skip to content

Commit 2897b9b

Browse files
authored
chore: disable color-constrast check for axe (#2226)
1 parent 8f73f63 commit 2897b9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/protractor.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ const config = {
2727
rules: [
2828
// Exclude md-menu elements because those are empty if not active.
2929
{ id: 'aria-required-children', selector: '*:not(md-menu)' },
30+
31+
// Disable color constrast checks since the final colors will vary based on the theme.
32+
{ id: 'color-contrast', enabled: false },
3033
]
3134
}
3235
]

0 commit comments

Comments
 (0)