Accessibility/IA2ToGecko
Jump to navigation
Jump to search
IAccessible2
| IA2 | Description | Gecko | Description |
|---|---|---|---|
| nRelations | Returns the number of accessible relations for this object | ?? | |
| relation | Returns one accessible relation for this object | ?? | |
| relations | Returns multiple accessible relations for this object | ?? | |
| scrollTo | Makes an object visible on screen | ?? | |
| groupPosition | Returns grouping information | ?? | |
| localizedRoleName | Returns the localized role name | ?? | |
| states | Returns the bit strip containing any IAccessible2 states | nsIAccessible::finalState | Returns the bit field which describes boolean properties of node |
| localizedStateNames | Returns localized state names (array of strings) | ?? | |
| extendedRole | Returns the extended role | ?? | |
| localizedExtendedRole | Returns the localized extended role | ?? | |
| nExtendedStates | Returns the number of extended states | ?? | may be used nsIAccessible::extState |
| extendedStates | Returns the extended states (array of strings) | ?? | may be used nsIAccessible::extState, that is second bit field describing node |
| localizedExtendedStates | Returns the localized extended states (array of strings) | ?? | |
| uniqueID | Returns the unique ID | nsIAccessNode::uniqueID | A unique ID calculated for this DOM node, for the purposes of caching and referencing this object |
| windowHandle | Returns the window handle for the parent window which contains this object | nsIAccessNode::ownerWindow | The OS window handle for the window this node is being displayed in |
| indexInParent | Returns the index of this object in its parent object | ?? | |
| locale | Returns the IA2Locale of the accessible object | ?? | |
| attributes | Returns the attributes specific to this IAccessible2 object, such as a cell's formula | nsIAccessible::attributes | Attributes of accessible |
IAccessibleAction
| IA2 | Description | Gecko | Description |
|---|---|---|---|
| nActions | Returns the number of accessible actions available in this object | nsIAccessible::numActions | The number of accessible actions associated with this accessible |
| doAction | Performs the specified Action on the object | nsIAccessible::doAction() | |
| description | Returns a description of the specified action of the object | getActionDescription() | |
| keyBinding | Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action | may be nsIAccessible::keyboardShortcut or/and nsIAccessible2::keyBinding | |
| name | Returns the non-localized name of specified action | nsIAccessible::getActionName() | The name of the accessible action at the given zero-based index |
| localizedName | Returns the localized name of specified action | ?? |
AccessibleApplication
| IA2 | Description | Gecko | Description |
|---|---|---|---|
| appName | Returns the application name | ?? | |
| appVersion | Returns the application version | ?? | |
| toolkitName | Returns the toolkit/bridge name | ?? | |
| toolkitVersion | Returns the toolkit/bridge version | ?? |
AccessibleComponent
| IA2 | Description | Gecko | Description |
|---|---|---|---|
| locationInParent | Returns the location of the upper left corner of the object's bounding box relative to the parent | ?? | may be used nsIAccessible::getBounds() |
| foreground | Returns the foreground color of this object | ?? | may be used nsIAccessNode::getComputedStyleValue() |
| background | Returns the background color of this object | ?? | may be used nsIAccessNode::getComputedStyleValue() |