Configuration options in Automated tests
Customize Accessibility testing in your Automated tests.
Accessibility testing options
Add the accessibilityOptions
key along with the keys mentioned in the following table to configure Accessibility testing:
Use-case | Key | Description | Values |
---|---|---|---|
Specify WCAG version | wcagVersion |
Specify the WCAG ruleset which is targeted during automatic issue detection. Default: wcag21aa
|
wcag2a , wcag2aa , wcag2aaa , wcag21a , wcag21aa , wcag21aaa , wcag22a , wcag22aa , wcag22aaa
|
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 Needs review issues |
needsReview (add under includeIssueType ) |
Issues marked as Needs Review needs manual inspection to confirm it’s 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 test cases | includeTagsInTestingScope |
Test cases with these tags, annotations or groups will be included in the accessibility testing scope. Learn more | 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 more | List of test case tags |
Example
For examples of includeTagsInTestingScope
or excludeTagsInTestingScope
visit Specify testing scope.
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!