TestAccessibilityStatus class
Platform: NightwatchLanguage: JavaScript SDK:
Provides the overall result of an accessibility test.
Returned at then end of a test run as part of the TestResults.
For more information about the Contrast advisor feature see Contrast advisor.
Properties
- levelType:AccessibilityLevel|'AA'|'AAA'
- Use this property to retrieve the accessibility level under which conformance was tested.
- statusType:AccessibilityStatus|'Failed'|'Passed'
- Use this property to retrieve the result of the accessibility test.
- versionType:AccessibilityGuidelinesVersion|'WCAG_2_0'|'WCAG_2_1'
- Use this property to retrieve the accessibility guide version under which conformance was tested.