accessibility method

Class: SeleniumCheckSettingsPlatform: Selenium 3Language: Java SDK:

Use to define an accessibility region and its type.

Syntax


eyes.check(Target.window().accessibility(regionSelector, regionType))
eyes.check(Target.window().accessibility(element, regionType))
eyes.check(Target.window().accessibility(regionType, elementsToIgnore))

Parameters

regionSelector
Type:By
A selector whose area defines the accessibility region being defined.
regionType
Type:AccessibilityRegionType
The accessibility type of the region.
element
Type:WebElement
An element whose area defines the accessibility region being defined.
elementsToIgnore
Type:WebElement[]
A list of elements whose areas should not be tested for accessibility.

Return value

Type: SeleniumCheckSettings

Remarks

For more information about the Contrast advisor feature see Contrast advisor