dequelabs / axe-webdriverjs

Provides a chainable axe API for Selenium's WebDriverJS and automatically injects into all frames.
Mozilla Public License 2.0
130 stars 46 forks source link

Question: Ignoring iframes #106

Closed sir-captainmorgan21 closed 5 years ago

sir-captainmorgan21 commented 5 years ago

If I wanted to ignore an iframe, how would I do that. We are using Google's reCaptchav3, and the Iframe it puts on our app breaks our accessibility tests. Without using reCaptchaV3, the tests pass perfectly. Have you guys tested axe on a site that uses Google's reCaptchaV3?

AdnoC commented 5 years ago

You can use the exclude function to exclude things from being tested. Note that it can take an array of selectors to select within an iframe (docs here).

That helpful?

straker commented 5 years ago

Closing issue since we haven't gotten a response. Please open a new issue if this is still a problem.