setAccessibilityValidation method

Class: ConfigurationPlatform: PuppeteerLanguage: JavaScript SDK:

Use this method to set the accessibility testing level to use.

Syntax

let configval = config.setAccessibilityValidation(accessibilityValidation);

Parameters

accessibilityValidation
Type:AccessibilitySettings
The required accessibility settings. A value of null will disable accessibility checking.

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.