2012-04-26 11:25:33 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Usage: declare the macro ROLE()with the following arguments:
|
2012-07-21 11:32:25 -07:00
|
|
|
* ROLE(geckoRole, stringRole, atkRole, macRole, msaaRole, ia2Role, nameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
ROLE(NOTHING,
|
|
|
|
"nothing",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_UNKNOWN,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TITLEBAR,
|
|
|
|
"titlebar",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Irrelevant on OS X; windows are always native.
|
|
|
|
ROLE_SYSTEM_TITLEBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TITLEBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(MENUBAR,
|
|
|
|
"menubar",
|
|
|
|
ATK_ROLE_MENU_BAR,
|
|
|
|
NSAccessibilityMenuBarRole, //Irrelevant on OS X; the menubar will always be native and on the top of the screen.
|
|
|
|
ROLE_SYSTEM_MENUBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_MENUBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SCROLLBAR,
|
|
|
|
"scrollbar",
|
|
|
|
ATK_ROLE_SCROLL_BAR,
|
|
|
|
NSAccessibilityScrollBarRole, //We might need to make this its own mozAccessible, to support the children objects (valueindicator, down/up buttons).
|
|
|
|
ROLE_SYSTEM_SCROLLBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SCROLLBAR,
|
2012-11-18 20:14:59 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(GRIP,
|
|
|
|
"grip",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilitySplitterRole,
|
|
|
|
ROLE_SYSTEM_GRIP,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GRIP,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SOUND,
|
|
|
|
"sound",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X.
|
|
|
|
ROLE_SYSTEM_SOUND,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SOUND,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CURSOR,
|
|
|
|
"cursor",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X.
|
|
|
|
ROLE_SYSTEM_CURSOR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CURSOR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CARET,
|
|
|
|
"caret",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X.
|
|
|
|
ROLE_SYSTEM_CARET,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CARET,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ALERT,
|
|
|
|
"alert",
|
|
|
|
ATK_ROLE_ALERT,
|
|
|
|
NSAccessibilityWindowRole,
|
|
|
|
ROLE_SYSTEM_ALERT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_ALERT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(WINDOW,
|
|
|
|
"window",
|
|
|
|
ATK_ROLE_WINDOW,
|
|
|
|
NSAccessibilityWindowRole, //Irrelevant on OS X; all window a11y is handled by the system.
|
|
|
|
ROLE_SYSTEM_WINDOW,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_WINDOW,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(INTERNAL_FRAME,
|
|
|
|
"internal frame",
|
|
|
|
ATK_ROLE_INTERNAL_FRAME,
|
|
|
|
NSAccessibilityScrollAreaRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_INTERNAL_FRAME,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(MENUPOPUP,
|
|
|
|
"menupopup",
|
|
|
|
ATK_ROLE_MENU,
|
|
|
|
NSAccessibilityMenuRole, //The parent of menuitems.
|
|
|
|
ROLE_SYSTEM_MENUPOPUP,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_MENUPOPUP,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(MENUITEM,
|
|
|
|
"menuitem",
|
|
|
|
ATK_ROLE_MENU_ITEM,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TOOLTIP,
|
|
|
|
"tooltip",
|
|
|
|
ATK_ROLE_TOOL_TIP,
|
|
|
|
@"AXHelpTag", //10.4+ only, so we re-define the constant.
|
|
|
|
ROLE_SYSTEM_TOOLTIP,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TOOLTIP,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(APPLICATION,
|
|
|
|
"application",
|
|
|
|
ATK_ROLE_EMBEDDED,
|
|
|
|
NSAccessibilityGroupRole, //Unused on OS X. the system will take care of this.
|
|
|
|
ROLE_SYSTEM_APPLICATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_APPLICATION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DOCUMENT,
|
|
|
|
"document",
|
|
|
|
ATK_ROLE_DOCUMENT_FRAME,
|
|
|
|
@"AXWebArea",
|
|
|
|
ROLE_SYSTEM_DOCUMENT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_DOCUMENT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* msaa comment:
|
|
|
|
* We used to map to ROLE_SYSTEM_PANE, but JAWS would
|
|
|
|
* not read the accessible name for the contaning pane.
|
|
|
|
* However, JAWS will read the accessible name for a groupbox.
|
|
|
|
* By mapping a PANE to a GROUPING, we get no undesirable effects,
|
|
|
|
* but fortunately JAWS will then read the group's label,
|
|
|
|
* when an inner control gets focused.
|
|
|
|
*/
|
|
|
|
ROLE(PANE,
|
|
|
|
"pane",
|
|
|
|
ATK_ROLE_PANEL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHART,
|
|
|
|
"chart",
|
|
|
|
ATK_ROLE_CHART,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_CHART,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CHART,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DIALOG,
|
|
|
|
"dialog",
|
|
|
|
ATK_ROLE_DIALOG,
|
|
|
|
NSAccessibilityWindowRole, //There's a dialog subrole.
|
|
|
|
ROLE_SYSTEM_DIALOG,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_DIALOG,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(BORDER,
|
|
|
|
"border",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X.
|
|
|
|
ROLE_SYSTEM_BORDER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_BORDER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(GROUPING,
|
|
|
|
"grouping",
|
|
|
|
ATK_ROLE_PANEL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SEPARATOR,
|
|
|
|
"separator",
|
|
|
|
ATK_ROLE_SEPARATOR,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_SEPARATOR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SEPARATOR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TOOLBAR,
|
|
|
|
"toolbar",
|
|
|
|
ATK_ROLE_TOOL_BAR,
|
|
|
|
NSAccessibilityToolbarRole,
|
|
|
|
ROLE_SYSTEM_TOOLBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TOOLBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(STATUSBAR,
|
|
|
|
"statusbar",
|
|
|
|
ATK_ROLE_STATUSBAR,
|
|
|
|
NSAccessibilityUnknownRole, //Doesn't exist on OS X (a status bar is its parts; a progressbar, a label, etc.)
|
|
|
|
ROLE_SYSTEM_STATUSBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_STATUSBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TABLE,
|
|
|
|
"table",
|
|
|
|
ATK_ROLE_TABLE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_TABLE,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TABLE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COLUMNHEADER,
|
|
|
|
"columnheader",
|
|
|
|
ATK_ROLE_COLUMN_HEADER,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_COLUMNHEADER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_COLUMNHEADER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ROWHEADER,
|
|
|
|
"rowheader",
|
|
|
|
ATK_ROLE_ROW_HEADER,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_ROWHEADER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_ROWHEADER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COLUMN,
|
|
|
|
"column",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityColumnRole,
|
|
|
|
ROLE_SYSTEM_COLUMN,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_COLUMN,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ROW,
|
|
|
|
"row",
|
2014-02-12 07:07:48 -08:00
|
|
|
ATK_ROLE_TABLE_ROW,
|
2012-04-26 11:25:33 -07:00
|
|
|
NSAccessibilityRowRole,
|
|
|
|
ROLE_SYSTEM_ROW,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_ROW,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CELL,
|
|
|
|
"cell",
|
|
|
|
ATK_ROLE_TABLE_CELL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_CELL,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CELL,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LINK,
|
|
|
|
"link",
|
|
|
|
ATK_ROLE_LINK,
|
|
|
|
@"AXLink", //10.4+ the attr first define in SDK 10.4, so we define it here too. ROLE_LINK
|
|
|
|
ROLE_SYSTEM_LINK,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LINK,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(HELPBALLOON,
|
|
|
|
"helpballoon",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
@"AXHelpTag",
|
|
|
|
ROLE_SYSTEM_HELPBALLOON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_HELPBALLOON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHARACTER,
|
|
|
|
"character",
|
|
|
|
ATK_ROLE_IMAGE,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X.
|
|
|
|
ROLE_SYSTEM_CHARACTER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CHARACTER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LIST,
|
|
|
|
"list",
|
|
|
|
ATK_ROLE_LIST,
|
|
|
|
NSAccessibilityListRole,
|
|
|
|
ROLE_SYSTEM_LIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LISTITEM,
|
|
|
|
"listitem",
|
|
|
|
ATK_ROLE_LIST_ITEM,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(OUTLINE,
|
|
|
|
"outline",
|
|
|
|
ATK_ROLE_TREE,
|
|
|
|
NSAccessibilityOutlineRole,
|
|
|
|
ROLE_SYSTEM_OUTLINE,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_OUTLINE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(OUTLINEITEM,
|
|
|
|
"outlineitem",
|
|
|
|
ATK_ROLE_LIST_ITEM,
|
|
|
|
NSAccessibilityRowRole, //XXX: use OutlineRow as subrole.
|
|
|
|
ROLE_SYSTEM_OUTLINEITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_OUTLINEITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PAGETAB,
|
|
|
|
"pagetab",
|
|
|
|
ATK_ROLE_PAGE_TAB,
|
|
|
|
NSAccessibilityRadioButtonRole,
|
|
|
|
ROLE_SYSTEM_PAGETAB,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_PAGETAB,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PROPERTYPAGE,
|
|
|
|
"propertypage",
|
|
|
|
ATK_ROLE_SCROLL_PANE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_PROPERTYPAGE,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_PROPERTYPAGE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(INDICATOR,
|
|
|
|
"indicator",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_INDICATOR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_INDICATOR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(GRAPHIC,
|
|
|
|
"graphic",
|
|
|
|
ATK_ROLE_IMAGE,
|
|
|
|
NSAccessibilityImageRole,
|
|
|
|
ROLE_SYSTEM_GRAPHIC,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GRAPHIC,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(STATICTEXT,
|
|
|
|
"statictext",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityStaticTextRole,
|
|
|
|
ROLE_SYSTEM_STATICTEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_STATICTEXT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TEXT_LEAF,
|
|
|
|
"text leaf",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityStaticTextRole,
|
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PUSHBUTTON,
|
|
|
|
"pushbutton",
|
|
|
|
ATK_ROLE_PUSH_BUTTON,
|
|
|
|
NSAccessibilityButtonRole,
|
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHECKBUTTON,
|
|
|
|
"checkbutton",
|
|
|
|
ATK_ROLE_CHECK_BOX,
|
|
|
|
NSAccessibilityCheckBoxRole,
|
|
|
|
ROLE_SYSTEM_CHECKBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CHECKBUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(RADIOBUTTON,
|
|
|
|
"radiobutton",
|
|
|
|
ATK_ROLE_RADIO_BUTTON,
|
|
|
|
NSAccessibilityRadioButtonRole,
|
|
|
|
ROLE_SYSTEM_RADIOBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_RADIOBUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COMBOBOX,
|
|
|
|
"combobox",
|
|
|
|
ATK_ROLE_COMBO_BOX,
|
|
|
|
NSAccessibilityPopUpButtonRole,
|
|
|
|
ROLE_SYSTEM_COMBOBOX,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_COMBOBOX,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DROPLIST,
|
|
|
|
"droplist",
|
|
|
|
ATK_ROLE_COMBO_BOX,
|
|
|
|
NSAccessibilityPopUpButtonRole,
|
|
|
|
ROLE_SYSTEM_DROPLIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_DROPLIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PROGRESSBAR,
|
|
|
|
"progressbar",
|
|
|
|
ATK_ROLE_PROGRESS_BAR,
|
|
|
|
NSAccessibilityProgressIndicatorRole,
|
|
|
|
ROLE_SYSTEM_PROGRESSBAR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_PROGRESSBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DIAL,
|
|
|
|
"dial",
|
|
|
|
ATK_ROLE_DIAL,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_DIAL,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_DIAL,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(HOTKEYFIELD,
|
|
|
|
"hotkeyfield",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_HOTKEYFIELD,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_HOTKEYFIELD,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SLIDER,
|
|
|
|
"slider",
|
|
|
|
ATK_ROLE_SLIDER,
|
|
|
|
NSAccessibilitySliderRole,
|
|
|
|
ROLE_SYSTEM_SLIDER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SLIDER,
|
2012-11-18 20:14:59 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SPINBUTTON,
|
|
|
|
"spinbutton",
|
|
|
|
ATK_ROLE_SPIN_BUTTON,
|
|
|
|
NSAccessibilityIncrementorRole, //Subroles: Increment/Decrement.
|
|
|
|
ROLE_SYSTEM_SPINBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SPINBUTTON,
|
2012-11-18 20:14:59 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DIAGRAM,
|
|
|
|
"diagram",
|
|
|
|
ATK_ROLE_IMAGE,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_DIAGRAM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_DIAGRAM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ANIMATION,
|
|
|
|
"animation",
|
|
|
|
ATK_ROLE_ANIMATION,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_ANIMATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_ANIMATION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(EQUATION,
|
|
|
|
"equation",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_EQUATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_EQUATION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(BUTTONDROPDOWN,
|
|
|
|
"buttondropdown",
|
|
|
|
ATK_ROLE_PUSH_BUTTON,
|
|
|
|
NSAccessibilityPopUpButtonRole,
|
|
|
|
ROLE_SYSTEM_BUTTONDROPDOWN,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_BUTTONDROPDOWN,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(BUTTONMENU,
|
|
|
|
"buttonmenu",
|
|
|
|
ATK_ROLE_PUSH_BUTTON,
|
|
|
|
NSAccessibilityMenuButtonRole,
|
|
|
|
ROLE_SYSTEM_BUTTONMENU,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_BUTTONMENU,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(BUTTONDROPDOWNGRID,
|
|
|
|
"buttondropdowngrid",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_BUTTONDROPDOWNGRID,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_BUTTONDROPDOWNGRID,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(WHITESPACE,
|
|
|
|
"whitespace",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_WHITESPACE,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_WHITESPACE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PAGETABLIST,
|
|
|
|
"pagetablist",
|
|
|
|
ATK_ROLE_PAGE_TAB_LIST,
|
|
|
|
NSAccessibilityTabGroupRole,
|
|
|
|
ROLE_SYSTEM_PAGETABLIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_PAGETABLIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CLOCK,
|
|
|
|
"clock",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X
|
|
|
|
ROLE_SYSTEM_CLOCK,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CLOCK,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SPLITBUTTON,
|
|
|
|
"splitbutton",
|
|
|
|
ATK_ROLE_PUSH_BUTTON,
|
|
|
|
NSAccessibilityButtonRole,
|
|
|
|
ROLE_SYSTEM_SPLITBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_SPLITBUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(IPADDRESS,
|
|
|
|
"ipaddress",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_IPADDRESS,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_IPADDRESS,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ACCEL_LABEL,
|
|
|
|
"accel label",
|
|
|
|
ATK_ROLE_ACCEL_LABEL,
|
|
|
|
NSAccessibilityStaticTextRole,
|
|
|
|
ROLE_SYSTEM_STATICTEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_STATICTEXT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ARROW,
|
|
|
|
"arrow",
|
|
|
|
ATK_ROLE_ARROW,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_INDICATOR,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_INDICATOR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CANVAS,
|
|
|
|
"canvas",
|
|
|
|
ATK_ROLE_CANVAS,
|
|
|
|
NSAccessibilityImageRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_CANVAS,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHECK_MENU_ITEM,
|
|
|
|
"check menu item",
|
|
|
|
ATK_ROLE_CHECK_MENU_ITEM,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_CHECK_MENU_ITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COLOR_CHOOSER,
|
|
|
|
"color chooser",
|
|
|
|
ATK_ROLE_COLOR_CHOOSER,
|
|
|
|
NSAccessibilityColorWellRole,
|
|
|
|
ROLE_SYSTEM_DIALOG,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_COLOR_CHOOSER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DATE_EDITOR,
|
|
|
|
"date editor",
|
|
|
|
ATK_ROLE_DATE_EDITOR,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_DATE_EDITOR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DESKTOP_ICON,
|
|
|
|
"desktop icon",
|
|
|
|
ATK_ROLE_DESKTOP_ICON,
|
|
|
|
NSAccessibilityImageRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_DESKTOP_ICON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DESKTOP_FRAME,
|
|
|
|
"desktop frame",
|
|
|
|
ATK_ROLE_DESKTOP_FRAME,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_DESKTOP_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DIRECTORY_PANE,
|
|
|
|
"directory pane",
|
|
|
|
ATK_ROLE_DIRECTORY_PANE,
|
|
|
|
NSAccessibilityBrowserRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_DIRECTORY_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FILE_CHOOSER,
|
|
|
|
"file chooser",
|
|
|
|
ATK_ROLE_FILE_CHOOSER,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_FILE_CHOOSER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FONT_CHOOSER,
|
|
|
|
"font chooser",
|
|
|
|
ATK_ROLE_FONT_CHOOSER,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_FONT_CHOOSER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHROME_WINDOW,
|
|
|
|
"chrome window",
|
|
|
|
ATK_ROLE_FRAME,
|
2013-09-09 07:48:26 -07:00
|
|
|
NSAccessibilityGroupRole, //Contains the main Firefox UI
|
2012-04-26 11:25:33 -07:00
|
|
|
ROLE_SYSTEM_APPLICATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_FRAME,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(GLASS_PANE,
|
|
|
|
"glass pane",
|
|
|
|
ATK_ROLE_GLASS_PANE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_GLASS_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(HTML_CONTAINER,
|
|
|
|
"html container",
|
|
|
|
ATK_ROLE_HTML_CONTAINER,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_UNKNOWN,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ICON,
|
|
|
|
"icon",
|
|
|
|
ATK_ROLE_ICON,
|
|
|
|
NSAccessibilityImageRole,
|
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_ICON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LABEL,
|
|
|
|
"label",
|
|
|
|
ATK_ROLE_LABEL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_STATICTEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_LABEL,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LAYERED_PANE,
|
|
|
|
"layered pane",
|
|
|
|
ATK_ROLE_LAYERED_PANE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_LAYERED_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(OPTION_PANE,
|
|
|
|
"option pane",
|
|
|
|
ATK_ROLE_OPTION_PANE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_OPTION_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PASSWORD_TEXT,
|
|
|
|
"password text",
|
|
|
|
ATK_ROLE_PASSWORD_TEXT,
|
|
|
|
NSAccessibilityTextFieldRole,
|
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(POPUP_MENU,
|
|
|
|
"popup menu",
|
|
|
|
ATK_ROLE_POPUP_MENU,
|
|
|
|
NSAccessibilityUnknownRole, //Unused
|
|
|
|
ROLE_SYSTEM_MENUPOPUP,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_MENUPOPUP,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(RADIO_MENU_ITEM,
|
|
|
|
"radio menu item",
|
|
|
|
ATK_ROLE_RADIO_MENU_ITEM,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_RADIO_MENU_ITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ROOT_PANE,
|
|
|
|
"root pane",
|
|
|
|
ATK_ROLE_ROOT_PANE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_ROOT_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SCROLL_PANE,
|
|
|
|
"scroll pane",
|
|
|
|
ATK_ROLE_SCROLL_PANE,
|
|
|
|
NSAccessibilityScrollAreaRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_SCROLL_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SPLIT_PANE,
|
|
|
|
"split pane",
|
|
|
|
ATK_ROLE_SPLIT_PANE,
|
|
|
|
NSAccessibilitySplitGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_SPLIT_PANE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TABLE_COLUMN_HEADER,
|
|
|
|
"table column header",
|
|
|
|
ATK_ROLE_TABLE_COLUMN_HEADER,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_COLUMNHEADER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_COLUMNHEADER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TABLE_ROW_HEADER,
|
|
|
|
"table row header",
|
|
|
|
ATK_ROLE_TABLE_ROW_HEADER,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_ROWHEADER,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_ROWHEADER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TEAR_OFF_MENU_ITEM,
|
|
|
|
"tear off menu item",
|
|
|
|
ATK_ROLE_TEAR_OFF_MENU_ITEM,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_TEAR_OFF_MENU,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TERMINAL,
|
|
|
|
"terminal",
|
|
|
|
ATK_ROLE_TERMINAL,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_TERMINAL,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TEXT_CONTAINER,
|
|
|
|
"text container",
|
2015-05-13 08:40:15 -07:00
|
|
|
ATK_ROLE_SECTION,
|
2012-04-26 11:25:33 -07:00
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_TEXT_FRAME,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TOGGLE_BUTTON,
|
|
|
|
"toggle button",
|
|
|
|
ATK_ROLE_TOGGLE_BUTTON,
|
|
|
|
NSAccessibilityButtonRole,
|
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_TOGGLE_BUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TREE_TABLE,
|
|
|
|
"tree table",
|
|
|
|
ATK_ROLE_TREE_TABLE,
|
|
|
|
NSAccessibilityTableRole,
|
|
|
|
ROLE_SYSTEM_OUTLINE,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_OUTLINE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(VIEWPORT,
|
|
|
|
"viewport",
|
|
|
|
ATK_ROLE_VIEWPORT,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_PANE,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_VIEW_PORT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(HEADER,
|
|
|
|
"header",
|
|
|
|
ATK_ROLE_HEADER,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_HEADER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FOOTER,
|
|
|
|
"footer",
|
|
|
|
ATK_ROLE_FOOTER,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_FOOTER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PARAGRAPH,
|
|
|
|
"paragraph",
|
|
|
|
ATK_ROLE_PARAGRAPH,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_PARAGRAPH,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(RULER,
|
|
|
|
"ruler",
|
|
|
|
ATK_ROLE_RULER,
|
|
|
|
@"AXRuler", //10.4+ only, so we re-define the constant.
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_RULER,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(AUTOCOMPLETE,
|
|
|
|
"autocomplete",
|
|
|
|
ATK_ROLE_AUTOCOMPLETE,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_COMBOBOX,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_COMBOBOX,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(EDITBAR,
|
|
|
|
"editbar",
|
|
|
|
ATK_ROLE_EDITBAR,
|
|
|
|
NSAccessibilityTextFieldRole,
|
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_EDITBAR,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(ENTRY,
|
|
|
|
"entry",
|
|
|
|
ATK_ROLE_ENTRY,
|
|
|
|
NSAccessibilityTextFieldRole,
|
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_TEXT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromValueRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CAPTION,
|
|
|
|
"caption",
|
|
|
|
ATK_ROLE_CAPTION,
|
|
|
|
NSAccessibilityStaticTextRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_CAPTION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DOCUMENT_FRAME,
|
|
|
|
"document frame",
|
|
|
|
ATK_ROLE_DOCUMENT_FRAME,
|
|
|
|
NSAccessibilityScrollAreaRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_UNKNOWN,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(HEADING,
|
|
|
|
"heading",
|
|
|
|
ATK_ROLE_HEADING,
|
|
|
|
@"AXHeading",
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_HEADING,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PAGE,
|
|
|
|
"page",
|
|
|
|
ATK_ROLE_PAGE,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_PAGE,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(SECTION,
|
|
|
|
"section",
|
|
|
|
ATK_ROLE_SECTION,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_SECTION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(REDUNDANT_OBJECT,
|
|
|
|
"redundant object",
|
|
|
|
ATK_ROLE_REDUNDANT_OBJECT,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_REDUNDANT_OBJECT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FORM,
|
|
|
|
"form",
|
|
|
|
ATK_ROLE_FORM,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_FORM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(IME,
|
|
|
|
"ime",
|
|
|
|
ATK_ROLE_INPUT_METHOD_WINDOW,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_INPUT_METHOD_WINDOW,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(APP_ROOT,
|
|
|
|
"app root",
|
|
|
|
ATK_ROLE_APPLICATION,
|
|
|
|
NSAccessibilityUnknownRole, //Unused on OS X
|
|
|
|
ROLE_SYSTEM_APPLICATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_APPLICATION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(PARENT_MENUITEM,
|
|
|
|
"parent menuitem",
|
|
|
|
ATK_ROLE_MENU,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_MENUITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CALENDAR,
|
|
|
|
"calendar",
|
|
|
|
ATK_ROLE_CALENDAR,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_CLIENT,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CLIENT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COMBOBOX_LIST,
|
|
|
|
"combobox list",
|
|
|
|
ATK_ROLE_MENU,
|
|
|
|
NSAccessibilityMenuRole,
|
|
|
|
ROLE_SYSTEM_LIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(COMBOBOX_OPTION,
|
|
|
|
"combobox option",
|
|
|
|
ATK_ROLE_MENU_ITEM,
|
|
|
|
NSAccessibilityMenuItemRole,
|
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(IMAGE_MAP,
|
|
|
|
"image map",
|
|
|
|
ATK_ROLE_IMAGE,
|
2012-07-11 17:22:28 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
2012-04-26 11:25:33 -07:00
|
|
|
ROLE_SYSTEM_GRAPHIC,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GRAPHIC,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(OPTION,
|
|
|
|
"listbox option",
|
|
|
|
ATK_ROLE_LIST_ITEM,
|
|
|
|
NSAccessibilityRowRole,
|
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(RICH_OPTION,
|
|
|
|
"listbox rich option",
|
|
|
|
ATK_ROLE_LIST_ITEM,
|
|
|
|
NSAccessibilityRowRole,
|
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(LISTBOX,
|
|
|
|
"listbox",
|
2014-02-04 13:29:12 -08:00
|
|
|
ATK_ROLE_LIST_BOX,
|
2012-04-26 11:25:33 -07:00
|
|
|
NSAccessibilityListRole,
|
|
|
|
ROLE_SYSTEM_LIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FLAT_EQUATION,
|
|
|
|
"flat equation",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_EQUATION,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_EQUATION,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(GRID_CELL,
|
|
|
|
"gridcell",
|
|
|
|
ATK_ROLE_TABLE_CELL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_CELL,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CELL,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(EMBEDDED_OBJECT,
|
|
|
|
"embedded object",
|
|
|
|
ATK_ROLE_PANEL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_EMBEDDED_OBJECT,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(NOTE,
|
|
|
|
"note",
|
|
|
|
ATK_ROLE_SECTION,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_NOTE,
|
2013-03-17 19:02:01 -07:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(FIGURE,
|
|
|
|
"figure",
|
|
|
|
ATK_ROLE_PANEL,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_GROUPING,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNoNameRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(CHECK_RICH_OPTION,
|
|
|
|
"check rich option",
|
|
|
|
ATK_ROLE_CHECK_BOX,
|
|
|
|
NSAccessibilityCheckBoxRole,
|
|
|
|
ROLE_SYSTEM_CHECKBUTTON,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_CHECKBUTTON,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DEFINITION_LIST,
|
|
|
|
"definitionlist",
|
|
|
|
ATK_ROLE_LIST,
|
|
|
|
NSAccessibilityListRole,
|
|
|
|
ROLE_SYSTEM_LIST,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LIST,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeIfReqRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(TERM,
|
|
|
|
"term",
|
|
|
|
ATK_ROLE_LIST_ITEM,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-07-21 11:32:25 -07:00
|
|
|
ROLE_SYSTEM_LISTITEM,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2012-04-26 11:25:33 -07:00
|
|
|
|
|
|
|
ROLE(DEFINITION,
|
|
|
|
"definition",
|
|
|
|
ATK_ROLE_PARAGRAPH,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
2012-07-21 11:32:25 -07:00
|
|
|
IA2_ROLE_PARAGRAPH,
|
2012-11-15 02:58:05 -08:00
|
|
|
eNameFromSubtreeRule)
|
2013-04-29 14:07:39 -07:00
|
|
|
|
|
|
|
ROLE(KEY,
|
|
|
|
"key",
|
|
|
|
ATK_ROLE_PUSH_BUTTON,
|
|
|
|
NSAccessibilityButtonRole,
|
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
|
|
|
ROLE_SYSTEM_PUSHBUTTON,
|
|
|
|
eNameFromSubtreeRule)
|
2015-02-26 05:47:15 -08:00
|
|
|
|
|
|
|
ROLE(SWITCH,
|
|
|
|
"switch",
|
|
|
|
ATK_ROLE_TOGGLE_BUTTON,
|
|
|
|
NSAccessibilityCheckBoxRole,
|
|
|
|
ROLE_SYSTEM_CHECKBUTTON,
|
|
|
|
IA2_ROLE_TOGGLE_BUTTON,
|
|
|
|
eNameFromSubtreeRule)
|
2015-03-09 05:16:12 -07:00
|
|
|
|
|
|
|
ROLE(MATHML_MATH,
|
|
|
|
"math",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_MATH,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
ROLE_SYSTEM_EQUATION,
|
|
|
|
ROLE_SYSTEM_EQUATION,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_IDENTIFIER,
|
|
|
|
"mathml identifier",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_STATIC,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_NUMBER,
|
|
|
|
"mathml number",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_STATIC,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_OPERATOR,
|
|
|
|
"mathml operator",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_STATIC,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_TEXT,
|
|
|
|
"mathml text",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_STATIC,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STRING_LITERAL,
|
|
|
|
"mathml string literal",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_STATIC,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_GLYPH,
|
|
|
|
"mathml glyph",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_IMAGE,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNameFromSubtreeRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ROW,
|
|
|
|
"mathml row",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_PANEL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_FRACTION,
|
|
|
|
"mathml fraction",
|
2015-03-12 05:21:33 -07:00
|
|
|
ATK_ROLE_MATH_FRACTION,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_SQUARE_ROOT,
|
|
|
|
"mathml square root",
|
2015-03-12 05:21:33 -07:00
|
|
|
ATK_ROLE_MATH_ROOT,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ROOT,
|
|
|
|
"mathml root",
|
2015-03-12 05:21:33 -07:00
|
|
|
ATK_ROLE_MATH_ROOT,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_FENCED,
|
|
|
|
"mathml fenced",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_PANEL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ENCLOSED,
|
|
|
|
"mathml enclosed",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_PANEL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STYLE,
|
|
|
|
"mathml style",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_PANEL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_SUB,
|
|
|
|
"mathml sub",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_SUP,
|
|
|
|
"mathml sup",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_SUB_SUP,
|
|
|
|
"mathml sub sup",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_UNDER,
|
|
|
|
"mathml under",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_OVER,
|
|
|
|
"mathml over",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_UNDER_OVER,
|
|
|
|
"mathml under over",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_MULTISCRIPTS,
|
|
|
|
"mathml multiscripts",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_TABLE,
|
|
|
|
"mathml table",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_TABLE,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_LABELED_ROW,
|
|
|
|
"mathml labeled row",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_TABLE_ROW,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_TABLE_ROW,
|
|
|
|
"mathml table row",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_TABLE_ROW,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_CELL,
|
|
|
|
"mathml cell",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_TABLE_CELL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ACTION,
|
|
|
|
"mathml action",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ERROR,
|
|
|
|
"mathml error",
|
2015-03-11 16:05:57 -07:00
|
|
|
ATK_ROLE_PANEL,
|
2015-03-09 05:16:12 -07:00
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_SEMANTICS,
|
|
|
|
"mathml semantics",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_ANNOTATION,
|
|
|
|
"mathml annotation",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_XML_ANNOTATION,
|
|
|
|
"mathml xml annotation",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK,
|
|
|
|
"mathml stack",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_LONG_DIVISION,
|
|
|
|
"mathml long division",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK_GROUP,
|
|
|
|
"mathml stack group",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK_ROW,
|
|
|
|
"mathml stack row",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK_CARRIES,
|
|
|
|
"mathml stack carries",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK_CARRY,
|
|
|
|
"mathml stack carry",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
|
|
|
|
|
|
|
ROLE(MATHML_STACK_LINE,
|
|
|
|
"mathml stack line",
|
|
|
|
ATK_ROLE_UNKNOWN,
|
|
|
|
NSAccessibilityUnknownRole,
|
|
|
|
0,
|
|
|
|
IA2_ROLE_UNKNOWN,
|
|
|
|
eNoNameRule)
|
2015-03-30 06:37:09 -07:00
|
|
|
|
|
|
|
ROLE(RADIO_GROUP,
|
|
|
|
"grouping",
|
|
|
|
ATK_ROLE_PANEL,
|
|
|
|
NSAccessibilityRadioGroupRole,
|
|
|
|
ROLE_SYSTEM_GROUPING,
|
|
|
|
ROLE_SYSTEM_GROUPING,
|
|
|
|
eNoNameRule)
|
2015-05-13 08:40:15 -07:00
|
|
|
|
|
|
|
ROLE(TEXT,
|
|
|
|
"text",
|
|
|
|
ATK_ROLE_STATIC,
|
|
|
|
NSAccessibilityGroupRole,
|
|
|
|
USE_ROLE_STRING,
|
|
|
|
IA2_ROLE_TEXT_FRAME,
|
|
|
|
eNameFromSubtreeIfReqRule)
|
|
|
|
|