Open jrtnq514 opened 6 years ago
I will take a look ASAP.
I think the problem is with some update of the axe-core
because in an old version (2.0.7 for example) the filter is working but with a fresh install of the modules the filter is not working.
I will check it.
I see it, but I think it is a little confused. I mean, the new rule is ok but it is not working with the filter or this rule is ignored by the filter?
Yeah it appears that the landmark-one-main
rule is ignored by the filters.
I've found a work around in case anyone else runs into the same issue. Adding 'landmark-one-main': { enabled: false }
to the rules works.
a11yCheckOptions: {
rules: {
'html-has-lang': { enabled: false },
bypass: { enabled: false },
'image-alt': { enabled: false },
'landmark-one-main': { enabled: false }
},
},
Yes thanks, it works with your solution.
I'm going to open an issue in the axe-core
repository about this problem.
@jrtnq514 I've published a few days ago a major version of the package with updates of the aXe libraries. Maybe with the new version, the problem with the filtering being resolved.
I'm trying to only show violations for the following tags:
'wcag2aa', 'wcag2a', 'section508'
gulp.js
However I'm still getting a violation with the
best-practice
tag.results.json
Anything I'm doing wrong or ideas of why this is happening?
Thanks