Accessibility/IA2ToGecko

From MozillaWiki
Jump to: navigation, search

<< Back to Accessibility Home Page

Note

This page is obsolete by AT APIs Supported Features where you will find map of IA2 to Gecko A11y API.

IAccessible2

IA2 Description Gecko Status Bug
nRelations Returns the number of accessible relations for this object nsIAccessible:: relationsCount implemented 381312
relation Returns one accessible relation for this object by index nsIAccessible:: getRelation() implemented 381312
relations Returns multiple accessible relations for this object nsIAccessible:: getRelations() implemented 381312
role Returns the role of an IAccessible2 object. nsIAccessible::role implemented 373364
scrollTo Makes an object visible on screen nsIAccessNode::scrollTo implemented 371593
scrollPointTo Moves the top left of an object to a specified location. nsIAccessNode::scrollPointTo implemented 377302
groupPosition Returns grouping information nsIAccessible::groupPosition implemented 371594
states Returns the bit strip containing any IAccessible2 states nsIAccessible::finalState implemented 373531
extendedRole Returns the extended role not supported by Gecko, no way to expose not implemented 369082
localizedExtendedRole Returns the localized extended role not supported by Gecko, no way to expose not implemented 369082
nExtendedStates Returns the number of extended states not supported by Gecko, no way to expose not implemented 369082
extendedStates Returns the extended states (array of strings) not supported by Gecko, no way to expose not implemented 369082
localizedExtendedStates Returns the localized extended states (array of strings) not supported by Gecko, no way to expose not implemented 369082
uniqueID Returns the unique ID nsIAccessNode::uniqueID implemented 372708
windowHandle Returns the window handle for the parent window which contains this object nsIAccessNode::ownerWindow implemented 372708
indexInParent Returns the index of this object in its parent object nsIAccessible::indexInParent implemented 372708
locale Returns the IA2Locale of the accessible object nsIAccessNode ::language implemented 405747
attributes Returns the attributes specific to this IAccessible2 object, such as a cell's formula nsIAccessible::attributes implemented 377294

IAccessibleAction

IA2 Description Gecko Status Bug
nActions Returns the number of accessible actions available in this object nsIAccessible::numActions implemented 370790
doAction Performs the specified Action on the object nsIAccessible::doAction() implemented 370790
description Returns a description of the specified action of the object nsIAccessible::getActionDescription() implemented 369777, 370790
keyBinding Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action nsIAccessible::keyBindings() implemented 371750, 370790
name Returns the non-localized name of specified action nsIAccessible::getActionName() implemented 370790
localizedName Returns the localized name of specified action not supported by Gecko, no way to expose not implemented 369082

IAccessibleApplication

IA2 Description Gecko Status Bug
appName Returns the application name nsIXULAppInfo::name implemented bug 383095
appVersion Returns the application version nsIXULAppInfo::version implemented bug 383095
toolkitName Returns the toolkit/bridge name "Gecko" implemented bug 383095
toolkitVersion Returns the toolkit/bridge version nsIXULAppInfo::version implemented bug 383095

IAccessibleComponent

IA2 Description Gecko Status Bug
locationInParent Returns the location of the upper left corner of the object's bounding box relative to the parent nsIAccessible::getBounds() implemented 380524
foreground Returns the foreground color of this object nsIAccessNode:: getComputedStyleCSSValue() implemented 380524
background Returns the background color of this object nsIAccessNode:: getComputedStyleCSSValue() implemented 380524

IAccessibleEditableText

IA2 Description Gecko Status Bug
copyText Copies the text range into the clipboard nsIAccessibleEditableText:: copyText implemented 378038
deleteText Deletes a range of text nsIAccessibleEditableText:: deleteText implemented 378038
insertText Inserts text at the specified position nsIAccessibleEditableText:: insertText implemented 378038
cutText Deletes a range of text and copies it to the clipboard nsIAccessibleEditableText:: cutText implemented 378038
pasteText Pastes text from the clipboard nsIAccessibleEditableText:: pasteText implemented 378038
replaceText Replaces text deleteText + insertText implemented 378038
setAttributes Replaces the attributes of a text range by the given set of attributes nsIAccessibleEditableText:: setAttributes

IAccessibleHyperlink

IA2 Description Gecko Status Bug
anchor Returns an object that represents the link anchor, as appropriate for the link at the specified index nsIAccessibleHyperLink::getObject() implemented 380508
anchorTarget Returns an object representing the target of the link, as appropriate for the link at the specified index nsIAccessibleHyperLink::getURI() implemented 380508
startIndex Returns the index at which the textual representation of the hyperlink starts nsIAccessibleHyperLink::startIndex implemented 380508
endIndex Returns the index at which the textual rerpesentation of the hyperlink ends nsIAccessibleHyperLink::endIndex implemented 380508
valid Returns whether the target object referenced by this link is still valid nsIAccessibleHyperLink::isValid() implemented 380508

IAccessibleHypertext

IA2 Description Gecko Status Bug
nHyperlinks Returns the number of links and link groups contained within this hypertext paragraph nsIAccessibleHyperText:: links implemented 379579
hyperlink Returns the specified link nsIAccessibleHyperText:: getLink() implemented 379579
hyperlinkIndex Returns the index of the hyperlink that is associated with this character index nsIAccessibleHyperText:: getLinkIndex implemented 379579

IAccessibleImage

IA2 Description Gecko Status Bug
description Returns the localized description of the image nsIAccessible::name implemented 380022
imagePosition Returns the coordinates of the image nsIAccessibleImage:: getImagePosition() implemented 380022
imageSize Returns the size of the image in units specified by parent's coordinate system nsIAccessibleImage:: getImageSize() implemented 380022

IAccessibleRelation

Implement IAccessibleRelation analogue in Gecko (see bug 345780).

IA2 Description Gecko Status Bug
relationType Returns the type of the relation nsIAccessibleRelation:: relationType implemented 381312
localizedRelationType Returns a localized version of the relation type not supported by Gecko, no way to expose not implemented 369082
nTargets Returns the number of targets for this relation nsIAccessibleRelation:: targetsCount implemented 381312
target Returns one accessible relation target nsIAccessibleRelation:: getTarget implemented 381312
targets Returns multiple accessible relation targets nsIAccessibleRelation:: getTargets implemented 381312

IAccessibleTable

Missed Gecko methods should be appended from atk part. Related problem xul:tree doesn't support nsIAccessibleTable bug 367905.

IA2 Description Gecko Status Bug
accessibleAt Returns the IAccessible2 object at the specified row and column in the table nsIAccessibleTable:: cellRefAt() implemented 379585
caption Returns the caption for the table nsIAccessibleTable:: caption implemented 379585
childIndex Translates the given row and column indices into the corresponding child index nsIAccessibleTable:: getIndexAt() implemented 379585
columnDescription Returns the description text of the specified column in the table nsIAccessibleTable:: getColumnDescription() implemented 379585
columnExtentAt Returns the number of columns occupied by the accessible object at the specified row and column in the table nsIAccessibleTable:: getColumnExtentAt() implemented 379585
columnHeader Returns the column headers as an IAccessibleTable object nsIAccessibleTable:: columnHeader implemented 379585
columnIndex Translates the given child index into the corresponding column index nsIAccessibleTable:: getColumnAtIndex implemented 379585
nColumns Returns the total number of columns in table nsIAccessibleTable:: columns implemented 379585
nRows Returns the total number of rows in table nsIAccessibleTable:: rows implemented 379585
nSelectedChildren Returns the total number of selected children nsIAccessibleTable:: selectedCellsCount implemented bug 385573
nSelectedColumns Returns the total number of selected columns nsIAccessibleTable:: selectedColumnsCount implemented bug 385573
nSelectedRows Returns the total number of selected rows nsIAccessibleTable:: selectedRowsCount implemented bug 385573
rowDescription Returns the description text of the specified row in the table nsIAccessibleTable:: getRowDescription() implemented 379585
rowExtentAt Returns the number of rows occupied by the accessible oject at the specified row and column in the table nsIAccessibleTable:: getRowExtentAt() implemented 379585
rowHeader Returns the row headers as an IAccessibleTable object nsIAccessibleTable:: rowHeader implemented 379585
rowIndex Translates the given child index into a row index. nsIAccessibleTable:: getRowIndex() implemented 379585
selectedChildren Returns a list of child indexes currently selected (0-based). nsIAccessibleTable:: getSelectedCells() implemented bug 385573
selectedRows Returns a list of row indexes currently selected (0-based) nsIAccessibleTable:: getSelectedRows() implemented bug 385573
selectedColumns Returns a list of column indexes currently selected (0-based) nsIAccessibleTable:: getSelectedColumns() implemented bug 385573
summary Returns the summary description of the table. The returned object could be an IAccessible or an IAccessible2. no way to expose in Gecko in progress 407589
isColumnSelected Returns a boolean value indicating whether the specified column is completely selected nsIAccessibleTable:: isColumnSelected implemented 379585
isRowSelected Returns a boolean value indicating whether the specified row is completely selected nsIAccessibleTable:: isRowSelected implemented 379585
isSelected Returns a boolean value indicating whether the specified cell is selected nsIAccessibleTable:: isCellSelected implemented 379585
selectRow Selects a row and unselects all previously selected rows nsIAccessibleTable::selectRow implemented 380038
selectColumn Selects a column and unselects all previously selected columns nsIAccessibleTable::selectColumn implemented 380038
unselectRow Unselects one row, leaving other selected rows selected (if any) nsIAccessibleTable::unselectRow implemented 380038
unselectColumn Unselects one column, leaving other selected columns selected (if any) nsIAccessibleTable::unselectColumn implemented 380038
rowColumnExtentsAtIndex Given a child index, gets the row and column indexes and extents of a cell and whether or not it is selected implemented 387857
modelChange Returns the type and extents describing how a table changed  ?? 385317

IAccessibleText

IA2 Description Gecko Status Bug
addSelection Adds a text selection nsIAccessibleText:: addSelection() implemented 378038
attributes Returns text attributes nsIAccessibleText:: getTextAttributes in progress 345759, see supported attributes list
caretOffset Returns the position of the caret nsIAccessibleText:: caretOffset implemented 378038
characterExtents Returns the bounding box of the specified position nsIAccessibleText:: getCharacterExtents() implemented 378038
nSelections Returns the number of active non-contiguous selections nsIAccessibleText:: selectionCount implemented 378038
offsetAtPoint Returns the text position for the specified screen position nsIAccessibleText:: getOffsetAtPoint() implemented 378038
selection Returns the character offsets of N-th active text selection nsIAccessibleText:: getSelectionBounds() implemented 378038
text Returns the substring between the two given indices nsIAccessibleText:: getText() implemented 378038
textBeforeOffset Returns a text portion before the given position nsIAccessibleText:: getTextBeforeOffset() implemented 378038, correct implementation?
textAfterOffset Returns a text portion after the given position nsIAccessibleText:: getTextAfterOffset() implemented 378038, correct implementation?
textAtOffset Returns a text portion that spans the given position nsIAccessibleText:: getTextAtOffset() implemented 378038, correct implementation?
removeSelection Unselects a range of text nsIAccessibleText:: removeSelection() implemented 378038
setCaretOffset Sets the position of the caret nsIAccessibleText:: caretOffset implmented 378038
setSelection Changes the bounds of an existing selection nsIAccessibleText:: setSelectionBounds() implemented 378038
nCharacters Returns total number of characters nsIAccessibleText:: characterCount implemented 378038
scrollSubstringTo Makes a specific part of string visible on screen nsIAccessibleText:: scrollSubstringTo implemented 378038, bug 371680
scrollSubstringToPoint Moves the top left of a substring to a specified location nsIAccessibleText:: scrollSubstringToPoint implemented 378038, bug 371680
newText Returns any inserted text refer to nsIAccessibleTextChangeEvent implemented 378038
oldText Returns any removed text refer to nsIAccessibleTextChangeEvent implemented 378038

IAccessibleValue

IA2 Description Gecko Status Bug
currentValue Returns the value of this object as a number nsIAccessibleValue:: currentValue implemented 380021
setCurrentValue Sets the value of this object to the given number nsIAccessibleValue:: currentValue implemented 380021
maximumValue Returns the maximal value that can be represented by this object nsIAccessibleValue:: maximumValue implemented 380021
minimumValue Returns the minimal value that can be represented by this object nsIAccessibleValue:: minimumValue implemented 380021

Events

MSAA Events

MSAA Event Description Gecko Event Is supported
EVENT_SYSTEM_SOUND A sound has been played. No No
EVENT_SYSTEM_ALERT An alert has been generated. Server applications send this event when a user needs to know that a user interface element has changed. EVENT_ALERT No
EVENT_SYSTEM_FOREGROUND The foreground window has changed EVENT_FOREGROUND No
EVENT_SYSTEM_MENUSTART A menu item on the menu bar has been selected. EVENT_MENU_START Yes
EVENT_SYSTEM_MENUEND A menu from the menu bar has been closed. EVENT_MENU_END Yes
EVENT_SYSTEM_MENUPOPUPSTART A pop-up menu has been displayed. EVENT_MENUPOPUP_START Yes
EVENT_SYSTEM_MENUPOPUPEND A pop-up menu has been closed. EVENT_MENUPOPUP_END Yes
EVENT_SYSTEM_CAPTURESTART A window has received mouse capture. EVENT_CAPTURE_START No
EVENT_SYSTEM_CAPTUREEND A window has lost mouse capture. EVENT_CAPTURE_END No
EVENT_SYSTEM_MOVESIZESTART A window is being moved or resized. EVENT_MOVESIZE_START No
EVENT_SYSTEM_MOVESIZEEND The movement or resizing of a window has finished. EVENT_MOVESIZE_END No
EVENT_SYSTEM_CONTEXTHELPSTART A window has entered context-sensitive Help mode. EVENT_CONTEXTHELP_START No
EVENT_SYSTEM_CONTEXTHELPEND A window has exited context-sensitive Help mode. EVENT_CONTEXTHELP_END No
EVENT_SYSTEM_DRAGDROPSTART An application is about to enter drag-and-drop mode. EVENT_DRAGDROP_START No
EVENT_SYSTEM_DRAGDROPEND An application is about to exit drag-and-drop mode. EVENT_DRAGDROP_END No
EVENT_SYSTEM_DIALOGSTART A dialog box has been displayed. EVENT_DIALOG_START No
EVENT_SYSTEM_DIALOGEND A dialog box has been closed. EVENT_DIALOG_END No
EVENT_SYSTEM_SCROLLINGSTART Scrolling has started on a scroll bar. EVENT_SCROLLING_START Yes
EVENT_SYSTEM_SCROLLINGEND Scrolling has ended on a scroll bar. EVENT_SCROLLING_END Yes
EVENT_OBJECT_CREATE An object has been created. EVENT_CREATE No
EVENT_OBJECT_DESTROY An object has been destroyed. EVENT_DESTROY No
EVENT_OBJECT_SHOW A hidden object is shown. EVENT_SHOW Yes
EVENT_OBJECT_HIDE An object is hidden. EVENT_HIDE Yes
EVENT_OBJECT_REORDER A container object has added, removed, or reordered its children. EVENT_REORDER Yes
EVENT_OBJECT_INVOKED An object has been invoked; for example, the user has clicked a button. No No
EVENT_OBJECT_FOCUS An object has received the keyboard focus. EVENT_FOCUS Yes
EVENT_OBJECT_SELECTION The selection within a container object has changed. EVENT_SELECTION Yes
EVENT_OBJECT_SELECTIONADD An item within a container object has been added to the selection. EVENT_SELECTION_ADD Yes
EVENT_OBJECT_SELECTIONREMOVE An item within a container object has been removed from the selection. EVENT_SELECTION_REMOVE Yes
EVENT_OBJECT_SELECTIONWITHIN Numerous selection changes have occurred within a container object. EVENT_SELECTION_WITHIN Yes
EVENT_OBJECT_TEXTSELECTIONCHANGED An object's text selection has changed. EVENT_TEXT_SELECTION_CHANGED Yes (Not mapped)
EVENT_OBJECT_CONTENTSCROLLED A window object's scrolling has ended. No No
EVENT_OBJECT_STATECHANGE An object's state has changed. EVENT_STATE_CHANGE Yes
EVENT_OBJECT_LOCATIONCHANGE An object has changed location, shape, or size. EVENT_LOCATION_CHANGE Yes
EVENT_OBJECT_NAMECHANGE An object's Name property has changed. EVENT_NAME_CHANGE Yes
EVENT_OBJECT_DESCRIPTIONCHANGE An object's Description property has changed. EVENT_DESCRIPTION_CHANGE Yes
EVENT_OBJECT_VALUECHANGE An object's Value property has changed. EVENT_VALUE_CHANGE Yes
EVENT_OBJECT_PARENTCHANGE An object has a new parent object EVENT_VALUE_CHANGE No
EVENT_OBJECT_HELPCHANGE An object's Help property has changed. EVENT_HELP_CHANGE No
EVENT_OBJECT_DEFACTIONCHANGE An object's DefaultAction property has changed. EVENT_DEFACTION_CHANGE No
EVENT_OBJECT_ACCELERATORCHANGE An object's KeyboardShortcut property has changed. EVENT_ACCELERATOR_CHANGE No

IA2 Events

IA2 Event ('IA2_EVENT_' prefix is omitted) Description Gecko Event ('EVENT_' prefix is omitted) Is supported
ACTION_CHANGED The change of the number or attributes of actions of an accessible object is signaled by events of this type. ACTION_CHANGE No
ACTIVE_DECENDENT_CHANGED The active descendant of a component has changed. The active descendant is used in objects with transient children ACTIVE_DECENDENT_CHANGED No
DOCUMENT_ATTRIBUTE_CHANGED The document wide attributes of the document object have changed. DOCUMENT_ATTRIBUTES_CHANGED No
DOCUMENT_LOAD_COMPLETE The loading of the document has completed. DOCUMENT_LOAD_COMPLETE Yes
DOCUMENT_LOAD_STOPPED The loading of the document was interrupted. DOCUMENT_LOAD_STOPPED Yes
DOCUMENT_RELOAD The document contents are being reloaded. DOCUMENT_RELOAD Yes
HYPERLINK_END_INDEX_CHANGED The ending index of this link within the containing string has changed. HYPERLINK_END_INDEX_CHANGED No
HYPERLINK_NUMBER_OF_ANCHORS_CHANGED The number of anchors assoicated with this hyperlink object has changed. HYPERLINK_NUMBER_OF_ANCHORS_CHANGED No
HYPERLINK_SELECTED_LINK_CHANGED The hyperlink selected state changed from selected to unselected or from unselected to selected. HYPERLINK_SELECTED_LINK_CHANGED No
HYPERTEXT_LINK_ACTIVATED One of the links associated with the hypertext object has been activated. HYPERTEXT_LINK_ACTIVATED No
HYPERTEXT_LINK_SELECTED One of the links associated with the hypertext object has been selected. HYPERTEXT_LINK_SELECTED Yes
HYPERLINK_START_INDEX_CHANGED The starting index of this link within the containing string has changed. HYPERLINK_START_INDEX_CHANGED No
HYPERTEXT_CHANGED Focus has changed from one hypertext object to another, or focus moved from a non-hypertext object to a hypertext object, or focus moved from a hypertext object to a non-hypertext object. HYPERTEXT_CHANGED No
HYPERTEXT_NLINKS_CHANGED The number of hyperlinks associated with a hypertext object changed. HYPERTEXT_NLINKS_CHANGED No
OBJECT_ATTRIBUTE_CHANGED An object's attributes changed. OBJECT_ATTRIBUTE_CHANGED No
PAGE_CHANGED A slide changed in a presentation document or a page boundary was crossed in a word processing document. PAGE_CHANGED No
ROLE_CHANGED An object's role changed. ROLE_CHANGED No
TABLE_CAPTION_CHANGED A table caption changed. TABLE_CAPTION_CHANGED No
TABLE_COLUMN_DESCRIPTION_CHANGED A table's column description changed. TABLE_COLUMN_DESCRIPTION_CHANGED No
TABLE_COLUMN_DESCRIPTION_CHANGED A table's column description changed. TABLE_COLUMN_DESCRIPTION_CHANGED No
TABLE_COLUMN_HEADER_CHANGED A table's column header changed. TABLE_COLUMN_HEADER_CHANGED No
TABLE_MODEL_CHANGED A table's data changed. TABLE_MODEL_CHANGED Yes
TABLE_ROW_DESCRIPTION_CHANGED A table's row description changed. TABLE_ROW_DESCRIPTION_CHANGED No
TABLE_ROW_HEADER_CHANGED A table's row header changed. TABLE_ROW_HEADER_CHANGED No
TABLE_SUMMARY_CHANGED A table's summary changed. TABLE_SUMMARY_CHANGED No
TEXT_ATTRIBUTE_CHANGED A text object's attributes changed. TEXT_ATTRIBUTE_CHANGED No
TEXT_CARET_MOVED The caret has moved to a new position. TEXT_CARET_MOVED Yes
TEXT_CHANGED This event indicates general text changes, i.e. changes to text that is exposed through the IAccessibleText and IAccessibleEditableText interfaces. TEXT_CHANGED Yes
TEXT_INSERTED Text was inserted. TEXT_INSERTED No
TEXT_REMOVED Text was removed. TEXT_REMOVED No
TEXT_UPDATED Text was updated. TEXT_UPDATED No
TEXT_SELECTION_CHANGED The text selection changed. TEXT_SELECTION_CHANGED Yes
VISIBLE_DATA_CHANGED A visibile data event indicates the change of the visual appearance of an accessible object. This includes for example most of the attributes available via the IAccessibleComponent interface. VISIBLE_DATA_CHANGED No
COLUMN_CHANGED The caret moved from one column to the next. COLUMN_CHANGED No
SECTION_CHANGED The caret moved from one section to the next. SECTION_CHANGED No