Skip to main content

Configuration options in Automated Tests

Customize accessibility testing in your Automated tests.

Accessibility testing options

Add the accessibilityOptions key along with one of the keys mentioned in the basic & advanced sections below to customize your testing.

Basic settings

Options

Here are the basic settings which you can customize:

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
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 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

browserstack.yml
Copy icon Copy snippet

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






Thank you for your valuable feedback

Is this page helping you?

Yes
No

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!

Talk to an Expert
Download Copy