Test Suites for nsIAccessible Extension Interface
nsIAccessible Extension Interface is based on nsIAccessible interface.It includes:
- nsIAccessibleAction
- nsIAccessibleEditableText
- nsIAccessibleHyperLink
- nsIAccessibleHyperText
- nsIAccessibleSelection
- nsIAccessibleTable
- nsIAccessibleText
- nsIAccessibleValue
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