Skip to main content

Accessibility

As of version 1.2, Sauce Bindings supports the new Sauce Labs Deque axeâ„¢ Integration

  • The Session classes now have a method to obtain accessibility results, which does two basic things:
    • Populates the new Accessibility tab in the Sauce Labs UI for a given job with the accessibility violations found during the test run.
    • Returns the specific violations found in the code. The format of these results varies by language, and it is left to the user to determine how best to make use of them in their code if so desired.
  • The Java code is implemented using Deque's Axe Core Maven HTML Jar
    • This implementation provides access to all the advanced features.
    • As a wrapper, Sauce bindings provides 3 method signatures for getting accessibility results, as outlined below.
  • The Ruby and Python code is implemented with the new sa11y project
    • Sa11y is a minimalist implementation of Deque's axeâ„¢ functionality.
    • The accessibility results method allows you to specify a different js library, the ability to turn off frame support, and the ability to turn on cross-origin frame support. Examples are provided below.
java/junit5/src/test/java/com/saucelabs/saucebindings/junit5/examples/AccessibilityTest.java
loading...
See full example on GitHub
Last updated on by titusfortner