Accessibility method

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

Use to define an accessibility region and its type.

Syntax


eyes.Check(Target.Window().Accessibility(region))
eyes.Check(Target.Window().Accessibility(region, regionType))
eyes.Check(Target.Window().Accessibility(regionSelector, regionType))
eyes.Check(Target.Window().Accessibility(element, regionType))
eyes.Check(Target.Window().Accessibility(regionType, elementsToIgnore))

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 whose area defines the accessibility region being defined.
element
Type:IWebElement
An element whose area defines the accessibility region being defined.
elementsToIgnore
Type:params IWebElement[]
A list of elements whose areas should not be tested for accessibility.

Return value

Type: ICheckSettings

Remarks

For more information about the Contrast advisor feature see Contrast advisor