set_accessibility_validation method

Class: ConfigurationPlatform: Selenium 3Language: Python SDK:

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


configval = config.set_accessibility_validation(accessibility_settings)
config.accessibility_validation  = configval
configval = config.accessibility_validation

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


Type:AccessibilitySettings [Optional ]
The required accessibility settings. A value of None will disable accessibility checking.

Return value

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