Web accessibility tests
Accessibility tests for web pages verify whether your application is easy to use for all users. This topic explains the following things:
Understand basics and limitations
Web accessibility testing is based on WCAG 2.2 Level A and AA rulesets and uses the Deque axe-core library (opens in new tab).
Tosca Cloud supports analyses for HTML-based web applications, provided that you meet the following requirements:
-
You create tests with modules that have the property Engine with the value Html. The modules must not have the property Special Execution Tasks.
-
You run your tests in any browser except InternetExplorer and InternetExplorerInEdge.
-
You exclude closed ShadowDOMs from your tests.
-
You run your tests via playlist. Tosca Cloud doesn't support accessibility testing in test case trial runs.
Switch between testing types
Tosca Cloud offers the following accessibility testing types:
-
Run an accessibility check on a specific webpage.
-
Add accessibility tests to your existing regression tests, either before or after inputs.
If you've set up one type of test, but would like to switch to another, that's no problem. Please choose your use case:

For this use case, these are your next steps:
-
Add the standard module Check Webpage Accessibility to your test case and fill out the resulting test step.
-
Change the value of the parameter RunAccessibilityAnalysis to Specific Webpage.

For this use case, these are your next steps:
-
Remove the Check Webpage Accessibility test step from your test case.
-
Change the value of the parameter RunAccessibilityAnalysis:
-
Use After Inputs to add analyses after each test step with action mode Input.
-
Use Before Inputs to add analyses before each test step with action mode Input.
-
-
If it isn't yet, change the value of the test case parameter Report Successful Execution of to TestStepValues - All.

In this case, simply change the value of the parameter RunAccessibilityAnalysis to the desired testing type: After Inputs or Before Inputs.
What's next
Now that you understand important web accessibility basics, you can start creating accessibility test cases.