setAccessibilityValidation method
Use this method to set the accessibility testing level to use.
Syntax
let configval = config.setAccessibilityValidation(value);
Parameters
- value
- Type:AccessibilitySettings
- The required accessibility settings.
A value of null will disable accessibility checking.
- AccessibilitySettings
- The type AccessibilitySettings is defined as: {level:AccessibilityLevel,guidelinesVersion:AccessibilityGuidelinesVersion}
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.
Remarks
For more information about the Contrast advisor feature see
Contrast advisor