Accessibility method

Class: SeleniumCheckSettingsPlatform: Selenium 3Language: C# 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, elements))
eyes.Check(Target.Window().Accessibility(region))
eyes.Check(Target.Window().Accessibility(region, regionType))

Parameters

region
Type:AccessibilityRegionByRectangle
An object that defines the region and its type.
region
Type:Rectangle
The position and size of the region.
regionType
Type:AccessibilityRegionType
The accessibility type of the region.
regionSelector
Type:By
A selector that specified one or more elements. The bounding rectangle of each element, defines an accessibility region to be analyzed.
element
Type:IWebElement
An element whose bounding rectangle defines an accessibility region to be analyzed.
elements
Type:params IWebElement[]
One or more element whose bounding rectangle defines an accessibility region to be analyzed.

Return value

Type: SeleniumCheckSettings

Remarks

For more information about the Contrast advisor feature see Contrast advisor