AccessibleRole

class AccessibleRole

The accessible role for a Accessible implementation.

Abstract roles are only used as part of the ontology; application developers must not use abstract roles in their code.

Fields

class AccessibleRole
ALERT

An element with important, and usually time-sensitive, information

ALERT_DIALOG

A type of dialog that contains an alert message

APPLICATION

A toplevel element of a graphical user interface.

This is the role that GTK uses by default for windows.

Added in version 4.12.

ARTICLE

A section of a page that consists of a composition that forms an independent part of a document, page, or site.

Added in version 4.14.

BANNER

Unused

BLOCK_QUOTE

A section of content that is quoted from another source.

Added in version 4.14.

BUTTON

An input element that allows for user-triggered actions when clicked or pressed

CAPTION

Unused

CELL

Unused

CHECKBOX

A checkable input element that has three possible values: true, false, or mixed

COLUMN_HEADER

A header in a columned list.

COMBO_BOX

An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the input

COMMAND

Abstract role.

COMMENT

A comment contains content expressing reaction to other content.

Added in version 4.14.

COMPOSITE

Abstract role.

DIALOG

A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.

DOCUMENT

Content that assistive technology users may want to browse in a reading mode.

FEED

Unused

FORM

Unused

GENERIC

A nameless container that has no semantic meaning of its own. This is the role that GTK uses by default for widgets.

GRID

A grid of items.

GRID_CELL

An item in a grid or tree grid.

GROUP

An element that groups multiple related widgets. GTK uses this role for various containers, like HeaderBar or Notebook.

HEADING

Unused

IMG

An image.

INPUT

Abstract role.

LABEL

A visible name or caption for a user interface component.

LANDMARK

Abstract role.

LEGEND

Unused

A clickable link.

LIST

A list of items.

LIST_BOX

Unused.

LIST_ITEM

An item in a list.

LOG

Unused

MAIN

Unused

MARQUEE

Unused

MATH

Unused

MENU

A menu.

MENU_BAR

A menubar.

MENU_ITEM

An item in a menu.

MENU_ITEM_CHECKBOX

A check item in a menu.

MENU_ITEM_RADIO

A radio item in a menu.

METER

An element that represents a value within a known range.

NAVIGATION

Unused

NONE

An element that is not represented to accessibility technologies. This role is synonymous to GTK_ACCESSIBLE_ROLE_PRESENTATION.

NOTE

Unused

OPTION

Unused

PARAGRAPH

A paragraph of content.

Added in version 4.14.

PRESENTATION

An element that is not represented to accessibility technologies. This role is synonymous to GTK_ACCESSIBLE_ROLE_NONE.

PROGRESS_BAR

An element that displays the progress status for tasks that take a long time.

RADIO

A checkable input in a group of radio roles, only one of which can be checked at a time.

RADIO_GROUP

Unused

RANGE

Abstract role.

REGION

Unused

ROW

A row in a columned list.

ROW_GROUP

Unused

ROW_HEADER

Unused

SCROLLBAR

A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.

SEARCH

Unused

SEARCH_BOX

A type of textbox intended for specifying search criteria.

SECTION

Abstract role.

SECTION_HEAD

Abstract role.

SELECT

Abstract role.

SEPARATOR

A divider that separates and distinguishes sections of content or groups of menuitems.

SLIDER

A user input where the user selects a value from within a given range.

SPIN_BUTTON

A form of range that expects the user to select from among discrete choices.

STATUS

Unused

STRUCTURE

Abstract role.

SWITCH

A type of checkbox that represents on/off values, as opposed to checked/unchecked values.

TAB

An item in a list of tab used for switching pages.

TABLE

Unused

TAB_LIST

A list of tabs for switching pages.

TAB_PANEL

A page in a notebook or stack.

TERMINAL

A virtual terminal.

Added in version 4.14.

TEXT_BOX

A type of input that allows free-form text as its value.

TIME

Unused

TIMER

Unused

TOGGLE_BUTTON

A type of push button which stays pressed until depressed by a second activation.

Added in version 4.10.

TOOLBAR

Unused

TOOLTIP

Unused

TREE

Unused

TREE_GRID

A treeview-like, columned list.

TREE_ITEM

Unused

WIDGET

Abstract role for interactive components of a graphical user interface

WINDOW

Abstract role for windows.