AccessibilitySettings method

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

Create an object that is used to set up accessibility validation.

To setup accessibility validation pass an object of this type to the method Configuration.SetAccessibilityValidation.

Syntax


AccessibilitySettings obj = new AccessibilitySettings(level, version);

Parameters

level
Type:AccessibilityLevel
The required accessibility level.
version
Type:AccessibilityGuidelinesVersion
The required accessibility guide version.

Return value

Type: AccessibilitySettings

Example

suiteConfig = new Configuration() 
suiteConfig 
   .SetAccessibilityValidation(new AccessibilitySettings(
        AccessibilityLevel.AAA, 
        AccessibilityGuidelinesVersion.WCAG_2_1))
    /* other configurations */;