mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: disable color-constrast check for axe (#2226)
This commit is contained in:
@@ -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 },
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user