Accessibility/IA2ToGecko: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 94: | Line 94: | ||
| nsIAccessible::attributes | | nsIAccessible::attributes | ||
| Attributes of accessible | | Attributes of accessible | ||
|} | |||
{| summary="Proposed mapping IAccessibleAction to Gecko Accessible" width="90%" border="1" cellspacing="1" cellpadding="1" | |||
! IAccessible2 | |||
! Description | |||
! Gecko Accessible | |||
! Description | |||
|- | |||
| nActions | |||
| Returns the number of accessible actions available in this object | |||
| numActions | |||
| The number of accessible actions associated with this accessible | |||
|- | |||
| doAction | |||
| Performs the specified Action on the object | |||
| | |||
| | |||
|- | |||
| description | |||
| Returns a description of the specified action of the object | |||
| | |||
| | |||
|- | |||
| keyBinding | |||
| Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action | |||
| | |||
| | |||
|- | |||
| name | |||
| Returns the non-localized name of specified action | |||
| getActionName | |||
| The name of the accessible action at the given zero-based index | |||
|- | |||
| localizedName | |||
| Returns the localized name of specified action | |||
| ?? | |||
| | |||
|} | |} | ||
Revision as of 06:43, 24 February 2007
| IAccessible2 | Description | Gecko Accessible | 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 | ?? | |
| extendedStates | Returns the extended states (array of strings) | nsIAccessible::extState | Extended accessible states -- 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 |
| IAccessible2 | Description | Gecko Accessible | Description |
|---|---|---|---|
| nActions | Returns the number of accessible actions available in this object | numActions | The number of accessible actions associated with this accessible |
| doAction | Performs the specified Action on the object | ||
| description | Returns a description of the specified action of the object | ||
| keyBinding | Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action | ||
| name | Returns the non-localized name of specified action | getActionName | The name of the accessible action at the given zero-based index |
| localizedName | Returns the localized name of specified action | ?? |