The information in this topic may be out of date. The current SDK reference guide has moved here.

SetAccessibilityValidation method

Class: ConfigurationPlatform: Selenium 3Language: C# SDK:

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


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

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


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.


For more information about the Contrast advisor feature see Contrast advisor.