We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b07e8e commit 0dcfed0Copy full SHA for 0dcfed0
src/auditor.js
@@ -2,7 +2,13 @@ import { axe } from "axe-core/axe.min.js";
2
import report from "./reporter";
3
4
export default function () {
5
- window.axe.a11yCheck(document, {}, (results) => {
+ const options = {
6
+ "rules": {
7
+ "color-contrast": { enabled: false },
8
+ }
9
+ };
10
+
11
+ window.axe.a11yCheck(document, options, (results) => {
12
report(results);
13
});
14
}
0 commit comments