AccessibleRelation

class AccessibleRelation

The possible accessible relations of a Accessible.

Accessible relations can be references to other widgets, integers or strings.

Methods

class AccessibleRelation
init_value(relation: AccessibleRelation, value: Any) None
Parameters:
  • relation

  • value

Fields

class AccessibleRelation
ACTIVE_DESCENDANT

Identifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application. Value type: reference

COL_COUNT

Defines the total number of columns in a table, grid, or treegrid. Value type: integer

COL_INDEX

Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer

COL_INDEX_TEXT

Defines a human readable text alternative of COL_INDEX. Value type: string

COL_SPAN

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

CONTROLS

Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference

DESCRIBED_BY

Identifies the element (or elements) that describes the object. Value type: reference

DETAILS

Identifies the element (or elements) that provide additional information related to the object. Value type: reference

ERROR_MESSAGE

Identifies the element that provides an error message for an object. Value type: reference

FLOW_TO

Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference

LABELLED_BY

Identifies the element (or elements) that labels the current element. Value type: reference

OWNS

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference

POS_IN_SET

Defines an element’s number or position in the current set of listitems or treeitems. Value type: integer

ROW_COUNT

Defines the total number of rows in a table, grid, or treegrid. Value type: integer

ROW_INDEX

Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer

ROW_INDEX_TEXT

Defines a human readable text alternative of aria-rowindex. Value type: string

ROW_SPAN

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

SET_SIZE

Defines the number of items in the current set of listitems or treeitems. Value type: integer