Closed MHoov closed 2 months ago
@sliu1206 does the readme help answer your questions? github.com/IBMa/equal-access//accessibility-checker
Review the accessibility-checker/boilerplates/README and see examples for the following:
- ...
- jest-selenium: Using a Jest test environment with a Selenium-webdriver browser
- mocha-selenium: Using a Mocha test environment with a Selenium-webdriver browser
- ... and others
triage: we don't have a plugin for Java.
@sliu1206 Several year back, we had a Java package that would run ace in Selenium, but that package was not maintained and therefore not open sourced. We have an open issue to update this: #398.
The basic idea is very similar to the Node version. Basically you run a script to either pull the ace engine from unpkg or load it locally and push it and eval in javascript: https://github.com/IBMa/equal-access/blob/master/accessibility-checker/src-ts/lib/ACEngineManager.ts#L89
Once the engine is loaded, you use script again to call the checker engine: https://github.com/IBMa/equal-access/blob/master/accessibility-checker/src-ts/lib/ACHelper.ts#L223
It is in our backlog, but most of the teams we've been working with are using various Node environments to run their tests, and we haven't had resources to get to the Java version.
Discussed in https://github.com/IBMa/equal-access/discussions/1942