Accessibility/IA2ToGecko: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
= IAccessible2 =
{| summary="Proposed mapping IAccessible2 to Gecko Accessible" width="90%" border="1" cellspacing="1" cellpadding="1"
{| summary="Proposed mapping IAccessible2 to Gecko Accessible" width="90%" border="1" cellspacing="1" cellpadding="1"
! IAccessible2
! IA2
! Description
! Description
! Gecko Accessible
! Gecko
! Description
! Description
|-
|-
Line 58: Line 60:
| Returns the number of extended states
| Returns the number of extended states
| ??
| ??
|
| may be used nsIAccessible::extState
|-
|-
| extendedStates
| extendedStates
| Returns the extended states (array of strings)
| Returns the extended states (array of strings)
| nsIAccessible::extState
| ??
| Extended accessible states -- second bit field describing node
| may be used nsIAccessible::extState, that is second bit field describing node
|-
|-
| localizedExtendedStates
| localizedExtendedStates
Line 96: Line 98:
|}
|}


= IAccessibleAction =


{| summary="Proposed mapping IAccessibleAction to Gecko Accessible" width="90%" border="1" cellspacing="1" cellpadding="1"
{| summary="Proposed mapping IAccessibleAction to Gecko Accessible" width="90%" border="1" cellspacing="1" cellpadding="1"

Revision as of 01:33, 25 February 2007

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

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 ??