|
|
| Line 42: |
Line 42: |
| | Returns the bit strip containing any IAccessible2 states | | | Returns the bit strip containing any IAccessible2 states |
| | nsIAccessible::finalState and nsIAccessible::extState | | | nsIAccessible::finalState and nsIAccessible::extState |
| | Returns the bit field which describes boolean properties of node | | | [https://bugzilla.mozilla.org/show_bug.cgi?id=373531 bug 373531] |
| |- | | |- |
| | localizedStateNames | | | localizedStateNames |
| Line 62: |
Line 62: |
| | Returns the number of extended states | | | Returns the number of extended states |
| | ?? | | | ?? |
| | [https://bugzilla.mozilla.org/show_bug.cgi?id=373531 bug 373531] | | | |
| |- | | |- |
| | extendedStates | | | extendedStates |
Revision as of 11:36, 11 March 2007
<< Back to Accessibility Home Page
IAccessible2
| IA2
|
Description
|
Gecko
|
Description
|
| nRelations
|
Returns the number of accessible relations for this object
|
??
|
bug 345780
|
| relation
|
Returns one accessible relation for this object by index
|
??
|
bug 345780
|
| relations
|
Returns multiple accessible relations for this object
|
??
|
bug 345780
|
| scrollTo
|
Makes an object visible on screen
|
nsIAccessNode::scrollTo
|
has been introduced in bug 371593
|
| groupPosition
|
Returns grouping information
|
??
|
bug 371594
|
| localizedRoleName
|
Returns the localized role name
|
??
|
|
| states
|
Returns the bit strip containing any IAccessible2 states
|
nsIAccessible::finalState and nsIAccessible::extState
|
bug 373531
|
| localizedStateNames
|
Returns localized state names (array of strings)
|
??
|
bug 369082
|
| extendedRole
|
Returns the extended role
|
??
|
|
| localizedExtendedRole
|
Returns the localized extended role
|
??
|
bug 369082
|
| nExtendedStates
|
Returns the number of extended states
|
??
|
|
| extendedStates
|
Returns the extended states (array of strings)
|
??
|
|
| localizedExtendedStates
|
Returns the localized extended states (array of strings)
|
??
|
bug 369082
|
| uniqueID
|
Returns the unique ID
|
nsIAccessNode::uniqueID
|
|
| windowHandle
|
Returns the window handle for the parent window which contains this object
|
nsIAccessNode::ownerWindow
|
|
| indexInParent
|
Returns the index of this object in its parent object
|
nsIAccessible::indexInParent
|
|
| 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
|
|
| doAction
|
Performs the specified Action on the object
|
nsIAccessible::doAction()
|
|
| description
|
Returns a description of the specified action of the object
|
nsIAccessible::getActionDescription()
|
is introduced in bug 369777
|
| keyBinding
|
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action
|
|
bug 371750
|
| name
|
Returns the non-localized name of specified action
|
nsIAccessible::getActionName()
|
|
| localizedName
|
Returns the localized name of specified action
|
??
|
bug 369082
|
IAccessibleApplication
Move nsAppRootAccessible into src/base from atk. Don't introduce nsIAccessibleApplication for Gecko.
| 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
|
??
|
|
IAccessibleComponent
| 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()
|
IAccessibleEditableText
| IA2
|
Description
|
Gecko
|
Description
|
| copyText
|
Copies the text range into the clipboard
|
nsIAccessibleEditableText::copyText
|
|
| deleteText
|
Deletes a range of text
|
nsIAccessibleEditableText::deleteText
|
|
| insertText
|
Inserts text at the specified position
|
nsIAccessibleEditableText::nsertText
|
|
| cutText
|
Deletes a range of text and copies it to the clipboard
|
nsIAccessibleEditableText::cutText
|
|
| pasteText
|
Pastes text from the clipboard
|
nsIAccessibleEditableText::pasteText
|
|
| replaceText
|
Replaces text
|
??
|
may be used deleteText + insertText
|
| setAttributes
|
Replaces the attributes of a text range by the given set of attributes
|
nsIAccessibleEditableText::setAttributes
|
|
IAccessibleHyperlink
| IA2
|
Description
|
Gecko
|
Description
|
| anchor
|
Returns an object that represents the link anchor, as appropriate for the link at the specified index
|
nsIAccessibleHyperLink::getObject()
|
|
| anchorTarget
|
Returns an object representing the target of the link, as appropriate for the link at the specified index
|
nsIAccessibleHyperLink::getURI()
|
|
| startIndex
|
Returns the index at which the textual representation of the hyperlink starts
|
nsIAccessibleHyperLink::startIndex
|
|
| endIndex
|
Returns the index at which the textual rerpesentation of the hyperlink ends
|
nsIAccessibleHyperLink::endIndex
|
|
| valid
|
Returns whether the target object referenced by this link is still valid
|
nsIAccessibleHyperLink::isValid()
|
|
IAccessibleHypertext
| IA2
|
Description
|
Gecko
|
Description
|
| nHyperlinks
|
Returns the number of links and link groups contained within this hypertext paragraph
|
nsIAccessibleHyperText::links
|
|
| hyperlink
|
Returns the specified link
|
nsIAccessibleHyperText::getLink()
|
|
| hyperlinkIndex
|
Returns the index of the hyperlink that is associated with this character index
|
nsIAccessibleHyperText::getLinkIndex
|
|
IAccessibleImage
| IA2
|
Description
|
Gecko
|
Description
|
| description
|
Returns the localized description of the image
|
nsIAccessible::description
|
|
| imagePosition
|
Returns the coordinates of the image
|
??
|
may be used nsIAccessibleImage:: getImageBounds()
|
| imageSize
|
Returns the size of the image in units specified by parent's coordinate system
|
??
|
may be used nsIAccessibleImage:: getImageBounds()
|
IAccessibleRelation
Implement IAccessibleRelation analogue in Gecko (see bug 345780).
| IA2
|
Description
|
Gecko
|
Description
|
| relationType
|
Returns the type of the relation
|
??
|
|
| localizedRelationType
|
Returns a localized version of the relation type
|
??
|
|
| nTargets
|
Returns the number of targets for this relation
|
??
|
|
| target
|
Returns one accessible relation target
|
??
|
|
| targets
|
Returns multiple accessible relation targets
|
??
|
|
IAccessibleTable
Missed Gecko methods should be appended from atk part.
Related problem xul:tree doesn't support nsIAccessibleTable bug 367905.
| IA2
|
Description
|
Gecko
|
Description
|
| accessibleAt
|
Returns the IAccessible2 object at the specified row and column in the table
|
nsIAccessibleTable::cellRefAt()
|
|
| caption
|
Returns the caption for the table
|
nsIAccessibleTable::caption
|
|
| childIndex
|
Translates the given row and column indices into the corresponding child index
|
? nsIAccessibleTable::getIndexAt()
|
|
| columnDescription
|
Returns the description text of the specified column in the table
|
nsIAccessibleTable::getColumnDescription()
|
|
| columnExtentAt
|
Returns the number of columns occupied by the accessible object at the specified row and column in the table
|
nsIAccessibleTable::getColumnExtentAt()
|
|
| columnHeader
|
Returns the column headers as an IAccessibleTable object
|
|
may be used nsIAccessibleTable:: columnHeader
|
| columnIndex
|
Translates the given child index into the corresponding column index
|
nsIAccessibleTable::getColumnAtIndex
|
|
| nColumns
|
Returns the total number of columns in table
|
nsIAccessibleTable::columns
|
|
| nRows
|
Returns the total number of rows in table
|
nsIAccessibleTable::rows
|
|
| nSelectedColumns
|
Returns the total number of selected columns
|
??
|
may be used nsIAccessibleTable:: getSelectedColumns()
|
| nSelectedRows
|
Returns the total number of selected rows
|
??
|
may be used nsIAccessibleTable:: getSelectedRows()
|
| rowDescription
|
Returns the description text of the specified row in the table
|
nsIAccessibleTable::getRowDescription()
|
|
| rowExtentAt
|
Returns the number of rows occupied by the accessible oject at the specified row and column in the table
|
nsIAccessibleTable::getRowExtentAt()
|
|
| rowHeader
|
Returns the row headers as an IAccessibleTable object
|
nsIAccessibleTable::getSelectedColumns()
|
|
| selectedRows
|
Returns a list of row indexes currently selected (0-based)
|
nsIAccessibleTable::getSelectedRows()
|
|
| selectedColumns
|
Returns a list of column indexes currently selected (0-based)
|
nsIAccessibleTable::getRowAtIndex()
|
|
| summary
|
Returns the summary description of the table
|
nsIAccessibleTable::summary
|
|
| isColumnSelected
|
Returns a boolean value indicating whether the specified column is completely selected
|
??
|
|
| isRowSelected
|
Returns a boolean value indicating whether the specified row is completely selected
|
??
|
|
| isSelected
|
Returns a boolean value indicating whether the specified cell is selected
|
??
|
|
| selectRow
|
Selects a row and unselects all previously selected rows
|
??
|
|
| selectColumn
|
Selects a column and unselects all previously selected columns
|
??
|
|
| unselectRow
|
Unselects one row, leaving other selected rows selected (if any)
|
??
|
|
| unselectColumn
|
Unselects one column, leaving other selected columns selected (if any)
|
??
|
|
| rowColumnExtentsAtIndex
|
Given a child index, gets the row and column indexes and extents of a cell and whether or not it is selected
|
??
|
|
| modelChange
|
Returns the type and extents describing how a table changed
|
??
|
|
IAccessibleText
| IA2
|
Description
|
Gecko
|
Description
|
| addSelection
|
Adds a text selection
|
nsIAccessibleText::addSelection()
|
|
| attributes
|
Returns text attributes
|
??
|
probably may be used nsIAccessibleText:: getAttributeRange. What's about nsIAccessible2:: attributes?
|
| caretOffset
|
Returns the position of the caret
|
nsIAccessibleText::caretOffset
|
|
| characterExtents
|
Returns the bounding box of the specified position
|
nsIAccessibleText::getCharacterExtents()
|
|
| nSelections
|
Returns the number of active non-contiguous selections
|
nsIAccessibleText::selectionCount
|
|
| offsetAtPoint
|
Returns the text position for the specified screen position
|
nsIAccessibleText::getOffsetAtPoint()
|
|
| selection
|
Returns the character offsets of N-th active text selection
|
nsIAccessibleText::getSelectionBounds()
|
|
| text
|
Returns the substring between the two given indices
|
nsIAccessibleText::getText()
|
|
| textBeforeOffset
|
Returns a text portion before the given position
|
nsIAccessibleText::getTextBeforeOffset()
|
|
| textAfterOffset
|
Returns a text portion after the given position
|
nsIAccessibleText::getTextAfterOffset()
|
|
| textAtOffset
|
Returns a text portion that spans the given position
|
nsIAccessibleText::getTextAtOffset()
|
|
| removeSelection
|
Unselects a range of text
|
nsIAccessibleText::removeSelection()
|
|
| setCaretOffset
|
Sets the position of the caret
|
nsIAccessibleText::caretOffset
|
|
| setSelection
|
Changes the bounds of an existing selection
|
nsIAccessibleText::setSelectionBounds()
|
|
| nCharacters
|
Returns total number of characters
|
nsIAccessibleText::characterCount
|
|
| scrollToSubstring
|
Makes a specific part of string visible on screen
|
??
|
bug 371680
|
| newText
|
Returns any inserted text
|
??
|
use textchange event
|
| oldText
|
Returns any removed text
|
??
|
use textchange event
|
IAccessibleValue
| IA2
|
Description
|
Gecko
|
Description
|
| currentValue
|
Returns the value of this object as a number
|
nsIAccessibleValue::currentValue
|
|
| setCurrentValue
|
Sets the value of this object to the given number
|
nsIAccessibleValue::currentValue
|
|
| maximumValue
|
Returns the maximal value that can be represented by this object
|
nsIAccessibleValue::maximumValue
|
|
| minimumValue
|
Returns the minimal value that can be represented by this object
|
nsIAccessibleValue::minimumValue
|
|