Get your setup working faster. Join our Discord for optimisation tips from elite testers.
Join our Discord
Configuration options
Configuration options to customize Accessibility testing added within your test suite.
Add the accessibilityOptions key along with the keys mentioned in the following table to configure Accessibility testing:
| Use case | Key | Description | Values |
|---|---|---|---|
| Specify the accessibility standard | wcagVersion |
Specify the accessibility standard ruleset that automatic issue detection targets. To test against RGAA 4.1, set wcagVersion to rgaa41. Default: wcag21aa
|
wcag2a, wcag2aa, wcag2aaa, wcag21a, wcag21aa, wcag21aaa, wcag22a, wcag22aa, wcag22aaa, rgaa41
|
| Include or exclude Best practice issues |
bestPractice (add under includeIssueType) |
Issues marked as Best practices aren’t Accessibility guideline violations, but resolving them will improve the overall user experience. Default: false
|
true or false
|
| Include or exclude Potential issues |
needsReview (add under includeIssueType) |
Issues marked as Potential issues need manual inspection to confirm their validity. Default: true
|
true or false
|
| Include or exclude Experimental rules |
experimental (add under includeIssueType) |
Choose whether you want to include or exclude issues associated with Experimental rules. Default: true
|
true or false
|
| Include or exclude Advanced rules |
advanced (add under includeIssueType) |
Choose whether you want to include or exclude issues associated with Advanced rules. Advanced rules require additional processing and might require more time to complete. Default: true
|
true or false
|
| Include test cases | includeTagsInTestingScope |
Test cases with these tags, annotations or groups will be included in the accessibility testing scope. Learn to include specific test cases in accessibility testing scope. | List of test case tags |
| Exclude test cases | excludeTagsInTestingScope |
Test cases with these tags, annotations or groups will be excluded from the accessibility testing scope. Learn to exclude specific test cases in accessibility testing scope. | List of test case tags |
| Enable or disable automatic scanning | autoScanning |
Enable or disable automatic scanning after every DOM-changing command. Default: true
|
true or false
|
Example
For examples of includeTagsInTestingScope or excludeTagsInTestingScope visit Specify testing scope.
For details on starting and stopping scans within test cases, see Start and stop accessibility scans.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!