SetAccessibilityValidation method

Class: ConfigurationPlatform: AppiumLanguage: C# SDK:

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

Syntax

IConfiguration configval = config.SetAccessibilityValidation(value);
config.AccessibilityValidation  = configval;
 = config.AccessibilityValidation;

Note that this feature is available as both a method and a property.

Parameters

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

Return value

Type: IConfiguration
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.