I'm currently working on a a11y script based on webdriverjs. But I'm having troubles using the .exclude() method. As I understood, it can take an array of CSS selectors, right?
In my actual setup I have something like:
In my current setup (I'm working on a Design System documented with Storybook), I want to only check .docs-story DOM nodes. Afaik the selector should work, but for some reason I end with a page-has-heading-one error, which should not pop as not related to the defined excluding perimeter, right?
I'll be very gratefull to get some more detailed infos about how this works, to be sure I'm building my script correctly! :+1:
Product
axe-core
Question
Hi there :wave:
I'm currently working on a a11y script based on
webdriverjs
. But I'm having troubles using the.exclude()
method. As I understood, it can take an array of CSS selectors, right? In my actual setup I have something like:In my current setup (I'm working on a Design System documented with Storybook), I want to only check
.docs-story
DOM nodes. Afaik the selector should work, but for some reason I end with apage-has-heading-one
error, which should not pop as not related to the defined excluding perimeter, right?I'll be very gratefull to get some more detailed infos about how this works, to be sure I'm building my script correctly! :+1:
Thx in advance! :pray: