You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Test Suites for nsIAccessible Extension Interface

Introduction:
nsIAccessible Extension Interface is based on nsIAccessible interface.It includes:
  • nsIAccessibleAction
  • nsIAccessibleEditableText
  • nsIAccessibleHyperLink
  • nsIAccessibleHyperText
  • nsIAccessibleSelection
  • nsIAccessibleTable
  • nsIAccessibleText
  • nsIAccessibleValue
nsIAccessible extension interface is implemented by a variety of classes for each of the various objects in HTML and XUL. Each class is tailored to the specific abilities and properties of the HTML and XUL objects it applies to.


Features Tested:
nsIAccessible extension interface has several Attibutes and Methods. This test suites cover almost all the attibutes and methods.
nsIAccessibleAction:
n/a
nsIAccessibleEditableText:
copyText(), cutText(), deleteText(), insertText(), pasteText(), setTextcontents()
nsIAccessibleHyperLink:
getEndIndex, getStartIndex, links, getObject(), getURI(), isValid()
nsIAccessibleHyperText:
links, getLink(), getLinkIndex()
nsIAccessibleSelection:
selectionCount, addSelection(), clearSelection(), isChildSelected(), refSelection(), removeSelection(), selectAllSelection()
nsIAccessibleTable:
caption, columnHeader, columns, rowHeader, rows, summary, cellRefAt(), getcolumnAtIndex(), getColumnDescription(), getcolumnExtentAt(), getIndexAt(), getRowAtIndex(), getRowDescription(), getRowExtentAt(), getSelectedColumns(), getSelectedRows(), isCellSelected(), isColumnSelected(), isRowSelected()
nsIAccessibleText:
caretOffset, characterCount, addSelection(), getCharacterAtOffset(), getSelectionBounds(), getText(), getTextAfterOffset(), getTextAtOffset(), getTextBeforeOffset(), removeSelection(), setCaretOffset(), setSelectionBounds()
nsIAccessibleValue:
currentValue, maximumValue, minimumValue, setCurrentValue()


Approach:

The test cases are written in JavaScript embedded in HTML and XUL for HTML and XUL Elements respectively.


Test Cases:
Click here to go to the test suites to test HTML Elements for Accessibility.
Click here to go to the test suites to test XUL Elements for Accessibility.


Maintained by: Jessie Li
Last Updated on July 1st, 2002