Skip to content

Able to run test with additional custom rules #146

Open
@huaxing-yuan

Description

@huaxing-yuan

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions