Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to run test with additional custom rules #146

Open
2 of 3 tasks
huaxing-yuan opened this issue Jan 9, 2024 · 0 comments
Open
2 of 3 tasks

Able to run test with additional custom rules #146

huaxing-yuan opened this issue Jan 9, 2024 · 0 comments
Labels

Comments

@huaxing-yuan
Copy link

huaxing-yuan commented Jan 9, 2024

Which package is this feature for?

  • Deque.AxeCore.Selenium
  • Deque.AxeCore.Playwright
  • Deque.AxeCore.Commons

Feature description

I would like to extend the test via some custom rules.
It seems possible via axe-core javascript library as described here : dequelabs/axe-core#221
But i haven't find a way to do the same in C# library. The AxeBuilder class from Selenium package has a WithRules() method but doesn't accept customized rule set.

Is it possible to add this feature (configue axe core library with a json object described here) or update documents to do so?
(same request for java library)

Thanks in advance


I discovered the function AxeBuilder.ConfigureAxe method which calls branding.js. Is it possible to run a customized .js file so we can call axe.configure and give it some additional ruleset ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants