Skip to main content

AccessibilityRegion class

Platform: Selenium
Language: Python


An object that stores information about an accesibility region.

Import statement

from applitools.selenium import AccessibilityRegion

AccessibilityRegion method​

Syntax​

obj = AccessibilityRegion(left, top, width, height, type)

Parameters​

left

Type: int

The coordinate of the left edge of a rectangular area whose accessibility is being defined.

top

Type: int

The coordinate of the top edge of a rectangular area whose accessibility is being defined.

width

Type: int

The width of the rectangular area whose accessibility is being defined.

height

Type: int

The height of the rectangular area whose accessibility is being defined.

type

Type: AccessibilityRegionType

The type of accessibility region defined by the rectanglar area.

Return value​

Type: None

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.

height property​

Syntax​

obj.height  = value
value = obj.height

Type: int

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.

left property​

Syntax​

obj.left  = value
value = obj.left

Type: int

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.

top property​

Syntax​

obj.top  = value
value = obj.top

Type: int

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.

type property​

Syntax​

obj.type  = value
value = obj.type

Type: AccessibilityRegionType

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.

width property​

Syntax​

obj.width  = value
value = obj.width

Type: int

Remarks​

For more information about the Contrast advisor feature see Contrast advisor.