You are viewing information archived from Mozilla.org on 2015-08-05.

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