Skip to content

Commit c32292f

Browse files
author
Cameron Cundiff
committed
Remove scroll configuration
- The option is not yet supported in the current release of axe-core in npm. - It was causing console errors too.
1 parent 3cfa6d8 commit c32292f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/auditor.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ import { axe } from "axe-core/axe.min.js";
22
import report from "./reporter";
33

44
export default function () {
5-
window.axe.configure({
6-
checks: [{
7-
id: "color-contrast",
8-
options: { noScroll: true }
9-
}]
10-
});
11-
125
window.axe.a11yCheck(document, (results) => {
136
report(results);
147
});

0 commit comments

Comments
 (0)