AccessibilitySettings method

Class: AccessibilitySettingsPlatform: ImagesLanguage: Java 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, guidelinesVersion);

Parameters

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

Return value

Type: AccessibilitySettings

Example

suiteConfig = new Configuration() 
    .setAccessibilityValidation(
            new AccessibilitySettings(
                    AccessibilityLevel.AA,
                    AccessibilityGuidelinesVersion.WCAG_2_1)
    )
/* other configs */ ;