Search completed in 1.15 seconds.
162 results for "iaccessible":
Your results are loading. Please wait...
IAccessible2
other-licenses/ia2/Accessible2.idlNot scriptable Please add a summary to this article. ...
...ULT localizedExtendedStates([in] long maxLocalizedExtendedStates, [out, size_is(,maxLocalizedExtendedStates), length_is(, nLocalizedExtendedStates)] BSTR localizedExtendedStates, [out] long nLocalizedExtendedStates ); [propget] HRESULT nExtendedStates([out] long nExtendedStates ); [propget] HRESULT nRelations([out] long nRelations ); [propget] HRESULT relation([in] long relationIndex, [out] IAccessibleRelation relation ); [propget] HRESULT relations([in] long maxRelations, [out, size_is(maxRelations), length_is( nRelations)] IAccessibleRelation relations, [out] long nRelations ); HRESULT role([out] long role ); HRESULT scrollTo([in] enum IA2ScrollType scrollType ); HRESULT scrollToPoint([in] enum IA2CoordinateType coordinateType, [in] long x, [in] long y ); [propget] HRESULT states([o...
...[propget] HRESULT...
...And 12 more matches
nsIAccessibleRetrieval
accessible/public/nsIAccessibleRetrieval.idlScriptable An interface for in-process accessibility clients wishing to get an nsIAccessible or nsIAccessNode for a given DOM node. ...
... accessible/public/nsIAccessibleRetrieval.idlScriptable An interface for in-process accessibility clients wishing to get an nsIAccessible or nsIAccessNode for a given DOM node. ...
... accessible/public/nsIAccessibleRetrieval.idlScriptable An interface for in-process accessibility clients wishing to get an nsIAccessible or nsIAccessNode for a given DOM node. ...
...And 11 more matches
IAccessibleTable
other-licenses/ia2/AccessibleTable.idlNot scriptable This interface gives access to a two-dimensional table. 1.0 66 Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3) Typically all accessible objects that represent cells or cell-clusters of a table will be at the same time children of the table. In this case IAccessible2.indexInParent() will return the child index which then can be used when calling rowIndex() and columnIndex(). However, in some cases that kind of implementation will not be possible. When the table cells are not direct children of a table, the object representing the cell can define a "table-cell-index" object attribute identifying the 0 based table cell index. This object attribute is obtained by parsing the attribute...
...x which then can be used when calling rowIndex() and columnIndex(). However, in some cases that kind of implementation will not be possible. When the table cells are not direct children of a table, the object representing the cell can define a "table-cell-index" object attribute identifying the 0 based table cell index. This object attribute is obtained by parsing the attribute string returned by IAccessible2.attributes(). The "table-cell-index" attribute can be used just like a child index of the typical case. ATs should first test for the presence of the "table-cell-index" attribute and if it is not present then IAccessible2.indexInParent() can be used as in the typical case where cells are direct children of the table. The range of valid coordinates for this interface are implementation dependent.
...t] IUnknown accessible ); [propget] HRESULT caption([out] IUnknown accessible ); [propget] HRESULT childIndex([in] long rowIndex, [in] long columnIndex, [out] long cellIndex ); [propget] HRESULT columnDescription([in] long column, [out] BSTR description ); [propget] HRESULT columnExtentAt([in] long row, [in] long column, [out] long nColumnsSpanned ); [propget] HRESULT columnHeader([out] IAccessibleTable accessibleTable, [out] long startingRowIndex ); [propget] HRESULT columnIndex([in] long cellIndex, [out] long columnIndex ); [propget] HRESULT isColumnSelected([in] long column, [out] boolean isSelected ); [propget] HRESULT isRowSelected([in] long row, [out] boolean isSelected ); [propget] HRESULT isSelected([in] long row, [in] long column, [out] boolean isSelected ); [propget] HRE...
...And 9 more matches
IAccessibleHyperlink
other-licenses/ia2/AccessibleHyperlink.idlNot scriptable This interface represents hyperlinks. 1.0 66 Introduced Gecko 1.9 Inherits from: IAccessibleAction Last changed in Gecko 1.9 (Firefox 3) This interface represents a hyperlink associated with a single substring of text or single non-text object. Non-text objects can have either a single link or a collection of links such as when the non-text object is an image map. Linked objects and anchors are implementation dependent. This interface is derived from IAccessibleAction. IAccessibleAction.nActions() is one greater than the maximum value for the indices used with the methods of this interface. Furthermore, the object that implements this interface has to be connected implicitly or explicitly with an object that im...
...This interface provides access to a single object which can have multiple actions. ...
...This interface provides access to a single object which can have multiple actions. An example is an image map which is an image with multiple links each of which is associated with a separate non-overlapping area of the image. ...
...And 8 more matches
nsIAccessible
<< Gecko AT Interfaces Page Summary The nsIAccessible interface is a cross-platform interface that supports platform-specific accessibility APIs like MSAA and ATK. Contains the sum of what's needed to support IAccessible as well as ATK's generic accessibility objects. Can also be used by in-process accessibility clients to get information about objects in the accessible tree. The accessible tree is a subset of nodes in the DOM tree -- such as documents, focusable elements and text. Mozilla creates the implementations of nsIAccessible on demand. [scriptable, uuid=(c7520419-87ec-42bc-98cc-04c0bf173530)] interface nsIAccessible : nsISupports { ... }; accessible/public/nsIAccessible.idlScriptable Please add a summary to this article. Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbi...
...ccessible/public/nsIAccessible.idlScriptable Please add a summary to this article. Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0) Overview This section provides short overview of methods and attributes of this interface. All methods and attributes are grouped by categories. Role, states and name These includes main properties used to describe the accessible. nsIAccessible.role to get the role of the accessible nsIAccessible.getState() to get states of the accessibe nsIAccessible.name, nsIAccessible.value to get the name and the value of the accessible Tree navigation You can navigate through the accessible tree by the following methods and attributes. ...
.... Role, states and name These includes main properties used to describe the accessible. nsIAccessible.role to get the role of the accessible nsIAccessible.getState() to get states of the accessibe nsIAccessible.name, nsIAccessible.value to get the name and the value of the accessible Tree navigation You can navigate through the accessible tree by the following methods and attributes. ...
...And 8 more matches
nsIAccessibleText
accessible/public/nsIAccessibleText.idlScriptable Please add a summary to this article. ...
... accessible/public/nsIAccessibleText.idlScriptable Please add a summary to this article. ...
...oid addSelection( in long startOffset, in long endOffset ); Parameters startOffset endOffset getAttributeRange() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Get the accessible and start/end offsets around the given offset. This accessible get return the DOM node and layout frame with the uniform attributes for this range of text. nsIAccessible getAttributeRange( in long offset, out long rangeStartOffset, out long rangeEndOffset ); Parameters offset rangeStartOffset rangeEndOffset Return value getCharacterAtOffset() It would be better to return an unsigned long here, to allow unicode chars > 16 bits. wchar getCharacterAtOffset( in long offset ); Parameters offset Return value getCharacterExtents() Returns the boundin...
...And 5 more matches
IAccessibleTable2
other-licenses/ia2/AccessibleTable2.idlNot scriptable This interface gives access to a two-dimensional table. 1.0 66 Introduced Gecko 1.9.2 Inherits from: IUnknown Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0) Please also refer to the IAccessibleTableCell interface. If you want to support older applications you should also support the IAccessibleTable interface. Method overview [propget] HRESULT caption([out] IUnknown accessible ); [propget] HRESULT cellAt([in] long row, [in] long column, [out] IUnknown cell ); [propget] HRESULT columnDescription([in] long column, [out] BSTR description ); [propget] HRESULT isColumnSelected([in] long column, [out] boolean isSelected ); [propget] HRESULT isRowSelected([in] long row, [out] boolean ...
...lectedColumns, [out] long nColumns ); [propget] HRESULT selectedRows([out, size_is(, nRows)] long selectedRows, [out] long nRows ); HRESULT selectRow([in] long row ); [propget] HRESULT summary([out] IUnknown accessible ); HRESULT unselectColumn([in] long column ); HRESULT unselectRow([in] long row ); Methods caption() Returns the caption for the table. ...
...t] long nColumns ); [propget] HRESULT selectedRows([out, size_is(, nRows)] long selectedRows, [out] long nRows ); HRESULT selectRow([in] long row ); [propget] HRESULT summary([out] IUnknown accessible ); HRESULT unselectColumn([in] long column ); HRESULT unselectRow([in] long row ); Methods caption() Returns the caption for the table. The returned object could be an IAccessible or an IAccessible2. ...
...And 4 more matches
nsIAccessibleRelation
Read only. targetsCount unsigned long Returns the number of targets for this relation. Read only. ...
...Read only. targetsCount unsigned long Returns the number of targets for this relation. Read only. ...
... object is affected by a target object. RELATION_CONTROLLER_FOR 0x02 This object is interactive and controls some attribute of a target object. RELATION_LABEL_FOR 0x03 This object is label for a target object. RELATION_LABELLED_BY 0x04 This object is labelled by a target object. If the accessible has an nsIAccessible.name() , you can get the nsIAccessible that it was labelled by in order to get more formatting information. Note: The label and description (see RELATION_DESCRIBED_BY) relations may be used to prevent redundant information from being presented by the screen reader, since the label and description can occur both on their own, and in the name or description fields of an nsIAccess...
...And 4 more matches
nsIAccessibleDocument
accessible/public/nsIAccessibleDocument.idlScriptable An interface for in-process accessibility clients that wish to retrieve information about a document. When accessibility is turned on in Gecko, there is an nsIAccessibleDocument for each document whether it is XUL, HTML or whatever. Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) You can QueryInterface to nsIAccessibleDocument from the nsIAccessible or nsIAccessNode for the root node of a document. ...
...ned on in Gecko, there is an nsIAccessibleDocument for each document whether it is XUL, HTML or whatever. Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) You can QueryInterface to nsIAccessibleDocument from the nsIAccessible or nsIAccessNode for the root node of a document. ...
...hether it is XUL, HTML or whatever. Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) You can QueryInterface to nsIAccessibleDocument from the nsIAccessible or nsIAccessNode for the root node of a document. You can also get one from nsIAccessNode.GetAccessibleDocument() or nsIAccessibleEvent.GetAccessibleDocument() Method overview nsIAccessible getAccessibleInParentChain(in nsIDOMNode aDOMNode, in boolean aCanCreate); Obsolete since Gecko 2.0 nsIAccessNode getCachedAccessNode(in voidPtr aUniqueID); Native code only! Obsolete since Gecko 2.0 AString getNameSpaceURIForID(in short nameSpaceID); Attributes Attribute Type Description caretAccessible nsIAccessible Read only. Obsolete sin...
...And 3 more matches
nsIAccessibleHyperLink
Is normally 1 for anchors. This anchor is, for example, the visible output of the html:a tag. With an Image Map, reflects the actual areas within the map. ...
...Is normally 1 for anchors. This anchor is, for example, the visible output of the html:a tag. With an Image Map, reflects the actual areas within the map. ...
...a tag. With an Image Map, reflects the actual areas within the map. Read only. Note: Renamed from anchors in Gecko 1.9 Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. endIndex long The end offset of the hyperlink accessible within the parent accessible. The returned value is related to the nsIAccessibleHyperLink interface of the object that owns this hyperlink. Read only. Note: The link itself is represented by one embedded character within the parent text, so the endIndex should be startIndex + 1. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. selected boolean Determines whether the e...
...And 3 more matches
IAccessibleHypertext
other-licenses/ia2/AccessibleHypertext.idlNot scriptable This interface exposes information about hypertext in a document. 1.0 66 Introduced Gecko 1.9 Inherits from: IAccessibleText Last changed in Gecko 1.9 (Firefox 3) The IAccessibleHypertext interface is the main interface to expose hyperlinks in a document, typically a text document, that are used to reference other documents. A typical implementation is to implement this interface on the smallest text object such as a paragraph of text. ...
...ccessibleText Last changed in Gecko 1.9 (Firefox 3) The IAccessibleHypertext interface is the main interface to expose hyperlinks in a document, typically a text document, that are used to reference other documents. A typical implementation is to implement this interface on the smallest text object such as a paragraph of text. Method overview [propget] HRESULT hyperlink([in] long index, [out] IAccessibleHyperlink hyperlink ); [propget] HRESULT hyperlinkIndex([in] long charIndex, [out] long hyperlinkIndex ); [propget] HRESULT nHyperlinks([out] long hyperlinkCount ); Methods hyperlink() Returns the specified link. The returned IAccessibleHyperlink object encapsulates the hyperlink and provides several kinds of information describing it. [propget] HRESULT hyperlink( [in] long index, [out]...
...yperlink hyperlink ); [propget] HRESULT hyperlinkIndex([in] long charIndex, [out] long hyperlinkIndex ); [propget] HRESULT nHyperlinks([out] long hyperlinkCount ); Methods hyperlink() Returns the specified link. The returned IAccessibleHyperlink object encapsulates the hyperlink and provides several kinds of information describing it. [propget] HRESULT hyperlink( [in] long index, [out] IAccessibleHyperlink hyperlink ); Parameters index This 0 based index specifies the hyperlink to return. hyperlink If the given index is valid, that is it lies in the interval from 0 to the number of links minus one, a reference to the specified hyperlink object is returned. If the index is invalid then a null pointer is returned. Return value E_INVALIDARG if bad [in] passed, [out] value is null. S_OK. hy...
...And 2 more matches
nsIAccessibleEvent
This can be used to get the DOM window, the DOM document and the window handler, among other things. Read only. ...
...This can be used to get the DOM window, the DOM document and the window handler, among other things. Read only. ...
...AccessibleEvent.idlScriptable An interface for accessibility events listened to by in-process accessibility clients, which can be used to find out how to get accessibility and DOM interfaces for the event and its target. Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Attributes Attribute Type Description accessible nsIAccessible The nsIAccessible associated with the event. May return null if no accessible is available. Read only. accessibleDocument nsIAccessibleDocument The nsIAccessibleDocument that the event target nsIAccessible resides in. This can be used to get the DOM window, the DOM document and the window handler, among other things. Read only. DOMNode nsIDOMNode The nsIDOMNode associated with the event. May return null if acc...
...And 2 more matches
nsIAccessibleStates
Constants State constants MSAA State flags - used for bitfield. More than 1 allowed. Constant Value Description STATE_UNAVAILABLE 0x00000001 The object is unavailable, that is disabled. STATE_SELECTED 0x00000002 The object is selected, That is it indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected. STATE_FOCUSED 0x00000004 The object is focused. ...
...designated read-only. STATE_HOTTRACKED 0x00000080 The object is hot-tracked by the mouse, which means that its appearance has changed to indicate that the mouse pointer is located over it. Currently unused. STATE_DEFAULT 0x00000100 This state represents the default button in a window. STATE_EXPANDED 0x00000200 Children of this object that have the ROLE_OUTLINEITEM role are displayed. (See nsIAccessibleRole.Constants). STATE_COLLAPSED 0x00000400 Children of this object that have the ROLE_OUTLINEITEM role are hidden. (See nsIAccessibleRole.Constants). STATE_BUSY 0x00000800 The control cannot accept input at this time. STATE_FLOATING 0x00001000 Children "owned" not "contained" by parent. STATE_MARQUEED 0x00002000 The object is scrolling or moving text or graphics. STATE_ANIMATED 0x000040...
...eRole.Constants). STATE_BUSY 0x00000800 The control cannot accept input at this time. STATE_FLOATING 0x00001000 Children "owned" not "contained" by parent. STATE_MARQUEED 0x00002000 The object is scrolling or moving text or graphics. STATE_ANIMATED 0x00004000 The object's appearance changes rapidly or constantly. Graphics that are occasionally animated are described as ROLE_GRAPHIC (See nsIAccessibleRole.Constants) with the State property set to STATE_ANIMATED. This state is used to indicate that the object's location is changing. STATE_INVISIBLE 0x00008000 The object is programmatically hidden. For example, menu items are programmatically hidden until a user activates the menu. Because objects with this state are not available to users, client applications should not communicate informatio...
...And 2 more matches
nsIAccessibleTable
accessible/public/nsIAccessibleTable.idlScriptable Please add a summary to this article. ...
... accessible/public/nsIAccessibleTable.idlScriptable Please add a summary to this article. ...
...Obsolete since Gecko 1.9.2 rowCount long The number of rows in the table. Read only. Note: Renam...
...And 2 more matches
nsIAccessibleHyperText
Read only. ...
...Read only. ...
...ccessibleHyperLink getLink(in long linkIndex); long getLinkIndex(in long charIndex); long getSelectedLinkIndex(); Obsolete since Gecko 1.9 Attributes Attribute Type Description linkCount long The number of links contained within this hypertext object. Read only. Note: Renamed from links in Gecko 1.9 Methods getLink() Retrieves the nsIAccessibleHyperLink object at the given link index. nsIAccessibleHyperLink getLink( in long linkIndex ); Parameters linkIndex 0-based index of the link that is to be retrieved. This can be retrieved via getLinkIndex(). Return value An nsIAccessibleHyperLink object. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. NS_ERROR_INVALID_...
...ns thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. getSelectedLinkIndex() Obsolete since Gecko 1.9 (Firefox 3) long getSelectedLinkIndex(); Parameters None. Return value Missing Description Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. See also nsIAccessibleHyperLink ...
nsIAccessibleSelectable
Read only. ...
...lectable.idlScriptable An interface for the accessibility module and in-process accessibility clients for dealing with getting and changing the selection of accessible nodes. Inherits from: nsISupports Last changed in Gecko 1.7 Method overview void addChildToSelection(in long index); void clearSelection(); nsIArray GetSelectedChildren(); boolean isChildSelected(in long index); nsIAccessible refSelection(in long index); void removeChildFromSelection(in long index); boolean selectAllSelection(); Attributes Attribute Type Description selectionCount long The number of accessible children currently selected. Read only. Constants Constant Value Description eSelection_Add 0 eSelection_Remove 1 eSelection_GetState 2 Methods addChildToSelection() Adds the sp...
... does nothing. void addChildToSelection( in long index ); Parameters index The zero-based accessible child index. Exceptions thrown NS_ERROR_FAILURE If the specified object is not selectable. clearSelection() Clears the selection in the object so that no children in the object are selected. void clearSelection(); Parameters None. GetSelectedChildren() Returns an nsIArray of the selected nsIAccessible children. nsIArray GetSelectedChildren(); Parameters None. Return value An nsIArray. isChildSelected() Determines if the current child of this object is selected. boolean isChildSelected( in long index ); Parameters index The zero-based accessible child index. Return value True if the child is selected, false if not. refSelection() Returns a reference to the accessible object representing t...
...arameters None. Return value An nsIArray. isChildSelected() Determines if the current child of this object is selected. boolean isChildSelected( in long index ); Parameters index The zero-based accessible child index. Return value True if the child is selected, false if not. refSelection() Returns a reference to the accessible object representing the specified selected child of the object. nsIAccessible refSelection( in long index ); Parameters index Zero-based selected accessible child index. Return value The selected accessible child. removeChildFromSelection() Removes the specified child of the object from the object's selection. If the specified object was not selected, then it does nothing. void removeChildFromSelection( in long index ); Parameters index Zero-based accessible child...
IAccessibleEditableText
other-licenses/ia2/AccessibleEditableText.idlNot scriptable This interface provides clipboard capability to text objects. 1.0 66 Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3) This interface is typically used in conjunction with the IAccessibleText interface and complements that interface with the additional capability of clipboard operations. Note that even a read only text object can support the copy capability so this interface is not limited to editable objects. The substrings used with this interface are specified as follows: If startOffset is less than endOffset, the substring starts with the character at startOffset and ends with the character just before endOffset. If endOffset is lower than startOffset, the result is the s...
...o editable objects. The substrings used with this interface are specified as follows: If startOffset is less than endOffset, the substring starts with the character at startOffset and ends with the character just before endOffset. If endOffset is lower than startOffset, the result is the same as a call with the two arguments exchanged. The whole text can be defined by passing the indices zero and IAccessibleText.nCharacters(). If both indices have the same value, an empty string is defined. Refer to the @ref _specialOffsets "Special Offsets for use in the IAccessibleText and IAccessibleEditableText Methods" for information about a special offset constant that can be used in IAccessibleEditableText methods. Method overview HRESULT copyText([in] long startOffset, [in] long endOffset ); HRESULT cut...
...set, [in] BSTR attributes ); Parameters startOffset Start index of the text whose attributes are modified. The valid range is 0..length. endOffset Start index of the text whose attributes are modified. The valid range is 0..length. attributes Set of attributes that replaces the old list of attributes of the specified text portion. Return value E_INVALIDARG if bad [in] passed. S_OK. See also IAccessibleText ...
nsIAccessibleProvider
OuterDoc 0x00000001 For elements that spawn a new document. ...
... OuterDoc 0x00000001 For elements that spawn a new document. ...
... OuterDoc 0x00000001 For elements that spawn a new document. For example now it is used by <xul:iframe>, <xul:browser> and <xul:editor>. ...
nsIAccessibleTreeCache
Obsolete since Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. A private interface to operate with tree accessible. accessible/public/nsIAccessibleTreeCache.idlNot scriptable Please add a summary to this article. ...
...ay still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. A private interface to operate with tree accessible. accessible/public/nsIAccessibleTreeCache.idlNot scriptable Please add a summary to this article. ...
... nsIAccessible getCachedTreeitemAccessible(in long aRow, in nsITreeColumn aColumn); void invalidateCache(in long aRow, in long aCount); void treeViewChanged(); void treeViewInvalidated(in long aStartRow, in long aEndRow, in long aStartCol, in long aEndCol); Methods getCachedTreeitemAccessible() Returns the tree item from the cache for the cell in the specified row and column; the nsIAccessible is created if it doesn't already exist in the cache. nsIAccessible getCachedTreeitemAccessible( in long aRow, in nsITreeColumn aColumn ); Parameters aRow The row index. aColumn The column object. If is is null then the primary column is used. It makes sense for ATK only. Return value The nsIAccessible corresponding to the specified tree cell. invalidateCache() Invalidates the number of cac...
IAccessibleAction
other-licenses/ia2/AccessibleAction.idlNot scriptable This interface gives access to actions that can be executed for accessible objects. 1.0 66 Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3) Every accessible object that can be manipulated via the native GUI beyond the methods available either in the MSAA IAccessible interface or in the set of IAccessible2 interfaces (other than this IAccessibleAction interface) should support the IAccessibleAction interface in order to provide Assistive Technology access to all the actions that can be performed by the object. Each action can be performed or queried for a name, description or associated key bindings. Actions are needed more for ATs that assist the mobility impaired, such as on-scre...
...ription or associated key bindings. Actions are needed more for ATs that assist the mobility impaired, such as on-screen keyboards and voice command software. By providing actions directly, the AT can present them to the user without the user having to perform the extra steps to navigate a context menu. The first action should be equivalent to the MSAA default action. If there is only one action, IAccessibleAction should also be implemented. Method overview [propget] HRESULT description([in] long actionIndex, [out] BSTR description ); HRESULT doAction([in] long actionIndex ); [propget] HRESULT keyBinding([in] long actionIndex, [in] long nMaxBindings, [out, size_is(,nMaxBindings), length_is(, nBindings)] BSTR keyBindings, [out] long nBindings ); [propget] HRESULT localizedName([in] long actio...
IAccessibleRelation
IUnknown targets, [out] long nTargets ); Parameters maxTargets Maximum size of the array allocated by the client. targets The array of target objects. ...
...cated by the client and freed when no longer needed. Refer to @ref _arrayConsideration "Special Consideration when using Arrays" for more details. You will need to use QueryInterface on the IUnknown to get the IAccessible2. ...
nsIAccessibleImage
accessible/public/nsIAccessibleImage.idlScriptable This interface allows in-process accessibility clients to retrieve information about an image. 1.0 66 Introduced Gecko 1.9 Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Method overview void getImagePosition(in unsigned long coordType, out long x, out long y); void getImageSize(out long width, out long height); Methods getImagePosition() Returns the coordinates of the image accessible. This method is the same as nsIAccessible.getBounds() excepting coordinate origin parameter. void getImagePosition( in unsigned long coordType, out long x, out long y ); Parameters coordType Specifies coordinates origin (for available constants refer to nsIAccessibleCoordinateType). x The x coordinate o...
...void getImageSize( out long width, out long height ); Parameters width The width of the image accessible. height The height of the image accessible. ...
nsIAccessibleStateChangeEvent
Read only. Methods isEnabled() boolean isEnabled(); Parameters None. Return value Returns true if the state is turned on. isExtraState() boolean isExtraState(); Parameters None. Return value Returns true if the state is extra state. ...
...Read only. Methods isEnabled() boolean isEnabled(); Parameters None. Return value Returns true if the state is turned on. isExtraState() boolean isExtraState(); Parameters None. Return value Returns true if the state is extra state. ...
nsIAccessibleTableCell
1.0 66 Introduced Gecko 1.9.2 Inherits from: nsISupports Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0) Method overview boolean isSelected(); Attributes Attribute Type Description columnExtent long Return the number of columns occupied by this cell. The result differs from 1 if the specified cell spans multiple columns. Read only. columnHeaderCells nsIArray Return an array of column header cells for this cell. Read only. columnIndex long Return column index of this cell. Read only. rowExtent long Return the number of rows occupied by this accessible cell. ...
... this cell. Read only. columnIndex long Return column index of this cell. Read only. rowExtent long Return the number of rows occupied by this accessible cell. The result differs from 1 if the specified cell spans multiple rows. Read only. rowHeaderCells nsIArray Return an array of row header cells for this cell. Read only. rowIndex long Return row index of this cell. Read only. table nsIAccessibleTable Return host table accessible. Read only. Methods isSelected() boolean isSelected(); Parameters None. Return value A boolean value indicating whether this cell is selected. ...
nsIAccessibleWin32Object
Read only. ...
...Read only. ...
IAccessibleApplication
Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3) This interface provides the AT with the information it needs to differentiate this application from other applications, from other versions of this application, or from other versions of this application running on different versions of an accessibility bridge or accessibility toolkit. Servers implementing IAccessible2 should provide access to the IAccessibleApplication interface via QueryService from any object so that ATs can easily determine specific information about the application such as its name or version. Method overview [propget] HRESULT appName([out] BSTR name ); [propget] HRESULT appVersion([out] BSTR version ); [propget] HRESULT toolkitName([out] BSTR name ); [propget] HRESULT toolkitVer...
IAccessibleImage
other-licenses/ia2/AccessibleImage.idlNot scriptable This interface represents images and icons. 1.0 66 Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3) This interface is used for a representation of images like icons on buttons. IAccessibleImage only needs to be implemented in certain situations. Some examples are: The accessible name and description() are not enough to fully describe the image, for example when the accessible description() is used to define the behavior of an actionable image and the image itself conveys semantically significant information. The user can edit the content that includes an image and therefore the user needs to be able to review the image's position. Method overview [propget] HRESULT description(...
IAccessibleTableCell
owIndex ); Parameters rowIndex Returns the 0 based row index of the specified cell or the index of the first row if the cell spans multiple rows. Return value S_OK. table() Returns a reference to the accessbile of the containing table. [propget] HRESULT table( [out] IUnknown table ); Parameters table Returns a reference to the IUnknown of the containing table. Return value S_OK. See also IAccessibleTable2 ...
IAccessibleText
0 based) startOffset The starting offset of the character range over which all text() attributes match those of offset. (0 based) endOffset The offset of the first character past the character range over which all text() attributes match those of offset. (0 based) textAttributes A string of attributes describing the text(). The attributes are described in the; text attributes specification on the IAccessible2 web site. Return value E_INVALIDARG if bad [in] passed, [out] values are 0s and null respectively. S_FALSE if there is nothing to return, [out] values are 0s and null respectively. S_OK. caretOffset() Returns the position of the caret. Returns the 0-based offset of the caret within the text(). If the text() is implemented as a tree of text() objects with embed characters in higher levels repres...
IAccessibleValue
This interface lets you access the value and its upper and lower bounds. ...
nsIAccessibleCaretMoveEvent
1.0 66 Introduced Gecko 1.9 Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Attributes Attribute Type Description caretOffset long Return caret offset. Read only. ...
nsIAccessibleCoordinateType
Constants Constant Value Description COORDTYPE_SCREEN_RELATIVE 0x00 The coordinates are relative to the screen. COORDTYPE_WINDOW_RELATIVE 0x01 The coordinates are relative to the window. COORDTYPE_PARENT_RELATIVE 0x02 The coordinates are relative to the upper left corner of the bounding box of the immediate parent. ...
nsIAccessibleEditableText
The operations it supports includes setting text attributes and text contents while also replacing old text of an object with new text. It also includes and support basic operations such as, inserting text, copying text, cutting text, pasting text and deleting text at the specified position. ...
nsIAccessibleRole
1.0 66 Introduced Gecko 1.9 Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Constants Constant Value Description ROLE_NOTHING 0 Used when accessible has no strong defined role. ROLE_TITLEBAR 1 Represents a title or caption bar for a window. It is used by MSAA only, supported automatically by MS Windows. ROLE_MENUBAR 2 Represents the menu bar (positioned beneath the title bar of a window) from which menus are selected by the user. The role is used by xul:menubar or role="menubar". ...
nsIAccessibleScrollType
1.0 66 Introduced Gecko 1.9 Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Constants Constant Value Description SCROLL_TYPE_TOP_LEFT 0x00 Scroll the top left of the object or substring to the top left of the window (or as close as possible). SCROLL_TYPE_BOTTOM_RIGHT 0x01 Scroll the bottom right of the object or substring to the bottom right of the window (or as close as possible). SCROLL_TYPE_TOP_EDGE 0x02 Scroll the top edge of the object or substring to the top edge of the window (or as close as possible). ...
nsIAccessibleTableChangeEvent
1.0 66 Introduced Gecko 1.9.2 Inherits from: nsISupports Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0) Attributes Attribute Type Description numRowsOrCols long Return the number of rows or cols. Read only. rowOrColIndex long Return the row or column index. Read only. ...
nsIAccessibleTextChangeEvent
1.0 66 Introduced Gecko 1.9 Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Method overview boolean isInserted(); Attributes Attribute Type Description length unsigned long Returns length of changed text. Read only. modifiedText DOMString The inserted or removed text. Read only. start long Returns offset of changed text in accessible. Read only. Methods isInserted() boolean isInserted(); Parameters None. Return value true if text was inserted, otherwise false. ...
nsIAccessibleValue
Inherits from: nsISupports Last changed in Gecko 1.9 (Firefox 3) Method overview boolean setCurrentValue(in double value); Obsolete since Gecko 1.9 Attributes Attribute Type Description currentValue double maximumValue double Read only. minimumIncrement double Read only. minimumValue double Read only. Methods setCurrentValue() Obsolete since Gecko 1.9 (Firefox 3) Return a success condition of the value getting set. That is if the value is within the range of minimumValue - maximumValue. boolean setCurrentValue( in double value ); Parameters value New value for current value. ...
Index
Mozilla › Tech › XPCOM › Index
t is created with the root "browser.startup.", the preferences "browser.startup.page", "browser.startup.homepage", and "browser.startup.homepage_override" can be accessed by simply passing "page", "homepage", or "homepage_override" to the various Get/Set methods. 160 ExtensionManager (Toolkit) Extensions The ExtensionManager follows the nsIExtensionManager API. ...
...owser.startup.homepage_override" can be accessed by simply passing "page", "homepage", or "homepage_override" to the various Get/Set methods. 160 ExtensionManager (Toolkit) Extensions The ExtensionManager follows the nsIExtensionManager API. 161 IAccessible2 Interfaces, NeedsContent, XPCOM, XPCOM Interface Reference Returns the attributes specific to this IAccessible2 object, such as a cell's formula. ...
...sing "page", "homepage", or "homepage_override" to the various Get/Set methods. 160 ExtensionManager (Toolkit) Extensions The ExtensionManager follows the nsIExtensionManager API. 161 IAccessible2 Interfaces, NeedsContent, XPCOM, XPCOM Interface Reference Returns the attributes specific to this IAccessible2 object, such as a cell's formula. ...
...And 43 more matches
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
ders would not be able to let the user know where there caret has moved to in most programs, because so many applications do not use the system caret (Gecko does not). This is so commonly done, that no one even bothers to support the MSAA caret, after all the hack is general solution works with pretty much all applications. MSAA provides information in several different ways: A COM interface (IAccessible) that allows applications to expose the tree of data nodes that make up each window in the user interface currently being interacted with and Custom interface extensions via interfaces via QueryInterface and QueryService. This can provide assistive technology with contextual information specific to your object model. For example, Gecko support ISimpleDOMNode to provide information about the DOM ...
... testing with assistive technologies and working with AT vendors. Don't use MSAA for exposing documents or other specialized data, if it's important that the user get access to formatting information. You will have to expose interfaces that contain more info than MSAA does. This information may be in the form of extensions to MSAA, like Mozilla has done with ISimpleDOMNode (you can QI to it from IAccessible). This is likely to be a painful road even if you are a major player, in terms of getting the cooperation of AT vendors. It may be a good enough solution; however, if what you need is JAWS, Dragon and ZoomText support. ZoomText and Dragon can get by with your MSAA support., and JAWS can be scripted (even by external developers) to support alternative interfaces. Don't use MSAA if you're working ...
...port., and JAWS can be scripted (even by external developers) to support alternative interfaces. Don't use MSAA if you're working with a small number of AT vendors, you can get everyone to agree on a different solution, and you're sure that you won't be needing to support other assistive technologies later. Deciding Which MSAA Features to Support MSAA Methods - Cheat Sheet for Developers The IAccessible interface is used in a tree of IAccessible's, each one representing a data node, similar to a DOM. Here are the methods supported in IAccessible - a minimal implementation would contain those marked "[important]": get_accParent: Get the parent of an IAccessible. [important] get_accChildCount: Get the number of children of an IAccessible. [important] get_accChild: Get the child of an IAccess...
...And 25 more matches
Working with Multiple Versions of Interfaces
n order for it to work in both Firefox 2 and Firefox 3, even if the interfaces have changed in the interim. In the extension that prompted this note, I needed to obtain the HWND of the document (yes its on Windows) in order to identify each particular extension instance. ...
...o obtain the HWND of the document (yes its on Windows) in order to identify each particular extension instance. To do this I used the accessibility framework: HWND getHwnd(nsIDOMNode *node){ HWND self = NULL; nsresult rv; nsCOMPtr<nsIAccessibleRetrieval> refp; refp = do_CreateInstance( "@mozilla.org/accessibleRetrieval;1", &rv); if (NS_FAILED(rv)){ return self; } //line 6. ...
...ework: HWND getHwnd(nsIDOMNode *node){ HWND self = NULL; nsresult rv; nsCOMPtr<nsIAccessibleRetrieval> refp; refp = do_CreateInstance( "@mozilla.org/accessibleRetrieval;1", &rv); if (NS_FAILED(rv)){ return self; } //line 6. nsCOMPtr<nsIAccessible> accnode; rv = refp->GetAccessibleFor(node, getter_AddRefs(accnode)); if(NS_FAILED(rv)){ return self; } void *wh = NULL; nsCOMPtr<nsIAccessibleDocument> accdocnode; accdocnode = do_QueryInterface(accnode, &rv); if(NS_FAILED(rv)){ return self; } rv = accdocnode->GetWindowHandle(&wh); if(NS_SUCCEEDED(rv)){ self = static_cast<HWND>(wh); } return self; } This approach worked, as is, for versions as early as Firefox 1.5. The problem arises when one tries to run an extension built with the latest SDK in an older version of Firefox, ...
...And 20 more matches
Gecko info for Windows accessibility vendors
SDN if you are unfamiliar with these. in general we abbreviate by removing redundant words. For example, we may say EVENT_ALERT instead of the full EVENT_SYSTEM_ALERT. MSAA tree vs. DOM tree - what's the relation? The MSAA tree and the DOM tree are parallel structures, although the MSAA tree is a subset of the DOM tree. QueryService() can be used to switch between the interfaces (IAccessible, ISimpleDOMDocument, ISimpleDOMNode and ISimpleDOMText). If there is no MSAA node for a DOM node, or vice-versa, QueryService() will return null. Anything that is focusable or conveys important information about the structure of the document is exposed in the MSAA tree of IAccessibles. Windows Applications Based on the Gecko Layout Engine Gecko is a rendering engine that Mozilla, Netsc...
...e entire contents. These roles can occur on content because of the new Accessible DHTML technology which allows the author to specify the type of document or container. Once you know that you have a document, go up the ancestor chain of windows until you see a MozillaContentWindowClass or a MozillaUIWindowClass. If it is a content window, you may use AccessibleObjectFromWindow() to get the root IAccessible for the content, and begin traversing the tree from there. Gecko also helps determine when to load a new window by firing two EVENT_STATE_CHANGE's on the root ROLE_DOCUMENT accessible -- the first state change indicates the document pane is now busy loading. The second state change indicates the document pane has finished. When handling the event, use get_accState() to check the STATE_BUSY flag...
...e when to load a new window by firing two EVENT_STATE_CHANGE's on the root ROLE_DOCUMENT accessible -- the first state change indicates the document pane is now busy loading. The second state change indicates the document pane has finished. When handling the event, use get_accState() to check the STATE_BUSY flag. When the document has finished loading the busy flag will be cleared. ...
...And 19 more matches
XPCOM Interface Reference
This is a reference to the XPCOM interfaces provided by the Mozilla platform. ...
... This is a reference to the XPCOM interfaces provided by the Mozilla platform. ...
... This is a reference to the XPCOM interfaces provided by the Mozilla platform. ...
...And 13 more matches
Mozilla accessibility architecture
rences on a consistent manner. The shared code makes itself available to the toolkit-specific code via generic XPCOM interfaces that return information about objects we want to expose. All focusable nodes, tables and text have accessibility interfaces. We call these objects "accessible nodes". Each of these accessible nodes supports at minimum the generic cross-platform accessibility interface nsIAccessible (which provides a text name, enumerated role identifier and a set of state flags) and sometimes additional interfaces. For example, tables support nsIAccessibleTable, text supports nsIAccessibleText and edit boxes support nsIEditableText., although this code has been moved into the ATK specific directories because it is not currently used in Windows. We will not rule out the possibility of suppor...
... but is not a full representation. Above: a diagram showing that the MSAA tree is a subset of the DOM tree. The situation for other accessibility APIs is similar. The problem is, what happens if there are DOM nodes that the assistive technology vendors wants to know about, which are not exposed? Also, what if they want to get DOM information, like CSS rules, tag names and attributes, that MSAA's IAccessible does not provide? On Windows, we solve this by supporting an additional interface beyond MSAA's IAccesible, for every DOM node. QueryInterface() can be used to switch between the two interfaces. If there is no MSAA node for a DOM node, pAccessible->QueryInterface(IID_IAccessible) will return null. In addition, some vendors had asked us to provide information and support for pieces of text smaller...
...pecific implementations should have "Wrap" appended to the class name. For example, document specific code for each toolkit goes in nsDocAccessibleWrap: public nsDocAccessible. ...
...And 9 more matches
Architecture - Accessibility
Introduction The implementation of text and embedded objects in Mozilla is clever but confusing. Here is a bit of history and an explanation. Mozilla exposes a document containment hierarchy with text and embedded objects. Sometimes the embedded object is really just another text container with more embedded objects. However in accessibility hierarchies such as ATK and IAccessible2, text is not exposed in leaf nodes as it is in a W3C DOM. The text is actually exposed via a special text interface in the parent of the text nodes. It is concatenated together with all its sibling text nodes, and embedded objects between the text nodes are exposed as the unicoded embedded object character '\xfffc'. One reason for this is that there are fewer nodes to pass across process, and that improves performa...
...all its sibling text nodes, and embedded objects between the text nodes are exposed as the unicoded embedded object character '\xfffc'. One reason for this is that there are fewer nodes to pass across process, and that improves performance. Node types Text content (ROLE_TEXT) objects are implemented by nsTextAccessible. Their text is actually exposed in their parent nsHyperTextAccessible via nsIAccessibleText. When the hierarchy is finally exposed to ATK they are stripped out. They are in the nsIAccessible hierarchy to make it easy for nsHyperTextAccessible to piece its final text representation together. They are kept in IAccessible2 for backward compatibility with MSAA clients that expect text in leaf nodes. HTML (ROLE_WHITESPACE) objects are implemented by nsHTMLBRAccessible. They end up ...
...hey are kept in IAccessible2 for backward compatibility with MSAA clients that expect text in leaf nodes. HTML (ROLE_WHITESPACE) objects are implemented by nsHTMLBRAccessible. They end up getting exposed as '\n' in their parent nsHyperTextAccessible. When the hierarchy is finally exposed to ATK they are stripped out as leaf nodes, but the \n remains in the containing text. They are in the nsIAccessible hierarchy to make it easy for nsHyperTextAccessible to piece its text representation together. Everything else uses whatever nsAccessible-derived implementation that's appropriate. If it has text siblings, then it gets exposed as the unicode char for an embedded object, which is '\xfffc' within the parent nsHyperTextAccessible. ...
...And 9 more matches
nsIAccessibilityService
accessible/public/nsIAccessibilityService.idlScriptable Please add a summary to this article. ...
... accessible/public/nsIAccessibilityService.idlScriptable Please add a summary to this article. ...
... accessible/public/nsIAccessibilityService.idlScriptable Please add a summary to this article. ...
...And 8 more matches
Accessibility/LiveRegionDevGuide
This page is currently under construction. This developer's guide lays out general guidelines that assistive technology (AT) developers can use in developing live region support. This guide was written from an ATK/AT-SPI point of view as part of the Orca Live Region Support project. However, many of the concepts were also used during the development of FireVox, an AT using IAccessible2. Sometimes the very best guide for some developers is the code itself. Please refer to the liveregions and Gecko Python modules in Orca for a real world example. For more information about Live Regions, please read the ARIA properties spec or the live region report to learn about ARIA Live Region markup and the Live Region API Support document for the latest Firefox API with regards to Live Regions. As always,...
...s used to satisfy the ARIA live politeness specification. The later method will be explained in detail below. Event Types The table for web page mutation event types lists the two major event types associated with live regions, namely text-changed and object changed events. Both will be discussed in detail below. Object Changed The object changed events are slightly different in AT-SPI and IAccessible2. In AT-SPI, the object changed event are called object:children-changed events because the event is triggered on the parent of the object. The actual object that change can then be found in the event.any_data field. In IAccessible2, the EVENT_OBJECT_* events are triggered on the actual object that changed. The object changed events can be further subdivided into object addition and removal event...
... event is triggered on the parent of the object. The actual object that change can then be found in the event.any_data field. In IAccessible2, the EVENT_OBJECT_* events are triggered on the actual object that changed. The object changed events can be further subdivided into object addition and removal events. In AT-SPI, this is accomplished by appending ":add" or ":remove" to the event string. In IAccessible2, there are two separate event types, namely EVENT_OBJECT_SHOW and EVENT_OBJECT_HIDE. Text Changed The text changed events are quite similar in AT-SPI and IAccessible2 with both having an insert and delete or removal events. The text changed event type in AT-SPI has a similar scheme as the object:children-changed events. In this case, the root event string is object:text-changed with ":delete"...
...And 6 more matches
ChildCount
<< nsIAccessible Page Summary Number of accessible children. ...
... << nsIAccessible Page Summary Number of accessible children. ...
... << nsIAccessible Page Summary Number of accessible children. ...
...And 5 more matches
Children
<< nsIAccessible Page Summary Array of all this node's children. attribute nsIArray children; Remark Every child node in the array implements nsIAccessible interface. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Array of all this node's children. attribute nsIArray children; Remark Every child node in the array implements nsIAccessible interface. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Array of all this node's children. attribute nsIArray children; Remark Every child node in the array implements nsIAccessible interface. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...And 5 more matches
FirstChild
<< nsIAccessible Page Summary Returns first child node in accessible tree. attribute nsIAccessible firstChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns first child node in accessible tree. attribute nsIAccessible firstChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns first child node in accessible tree. attribute nsIAccessible firstChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...And 5 more matches
GetChildAt
<< nsIAccessible Page Summary This method returns Nth accessible child using zero-based index. nsIAccessible getChildAt( in long aChildIndex ); Parameters aChildIndex[in] The index of the Nth child. Return value Returns Nth accessible child using zero-based index. If child index is less than zero then returns last child. If child index is greater than children count then returns null. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...ChildAt( in long aChildIndex ); Parameters aChildIndex[in] The index of the Nth child. Return value Returns Nth accessible child using zero-based index. ...
...dIndex ); Parameters aChildIndex[in] The index of the Nth child. Return value Returns Nth accessible child using zero-based index. If child index is less than zero then returns last child. ...
...And 5 more matches
LastChild
<< nsIAccessible Page Summary Returns last child node in accessible tree. attribute nsIAccessible lastChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns last child node in accessible tree. attribute nsIAccessible lastChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns last child node in accessible tree. attribute nsIAccessible lastChild; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...And 5 more matches
NextSibling
<< nsIAccessible Page Summary Returns next sibling in accessible tree. attribute nsIAccessible nextSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns next sibling in accessible tree. attribute nsIAccessible nextSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns next sibling in accessible tree. attribute nsIAccessible nextSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...And 5 more matches
Parent
<< nsIAccessible Page Summary Returns parent node in accessible tree. attribute nsIAccessible parent; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. Remarks Every accessible in the tree has accessible parent excepting application accessible (top level accessible). ...
... << nsIAccessible Page Summary Returns parent node in accessible tree. attribute nsIAccessible parent; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. Remarks Every accessible in the tree has accessible parent excepting application accessible (top level accessible). ...
... << nsIAccessible Page Summary Returns parent node in accessible tree. attribute nsIAccessible parent; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. Remarks Every accessible in the tree has accessible parent excepting application accessible (top level accessible). ...
...And 5 more matches
PreviousSibling
<< nsIAccessible Page Summary Returns previous node in accessible tree. attribute nsIAccessible previousSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns previous node in accessible tree. attribute nsIAccessible previousSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary Returns previous node in accessible tree. attribute nsIAccessible previousSibling; Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
...And 5 more matches
ROLE_CELL
<< Gecko Roles Page Represents a cell within a table. Also, see ROLE_TABLE. ...
... << Gecko Roles Page Represents a cell within a table. Also, see ROLE_TABLE. ...
... << Gecko Roles Page Represents a cell within a table. Also, see ROLE_TABLE. ...
...And 4 more matches
nsIAccessNode
is active in Gecko, every DOM node can have one nsIAccessNode. Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) The nsIAccessNode implementations are instantiated lazily. The nsIAccessNode tree for a given DOM window has a one to one relationship to the DOM tree. If the DOM node for this access node is "accessible", then a QueryInterface to nsIAccessible will succeed. Method overview nsIAccessNode getChildNodeAt(in long childNum); Obsolete since Gecko 2.0 nsIDOMCSSPrimitiveValue getComputedStyleCSSValue(in DOMString pseudoElt, in DOMString propertyName); DOMString getComputedStyleValue(in DOMString pseudoElt, in DOMString propertyName); void scrollTo(in unsigned long aScrollType); void scrollToPoin...
...in DOMString propertyName); void scrollTo(in unsigned long aScrollType); void scrollToPoint(in unsigned long aCoordinateType, in long aX, in long aY); Attributes Note: Attempting to access the attributes of a node that is unattached from the accessible tree will result in an exception - NS_ERROR_FAILURE. Attribute Type Description document nsIAccessibleDocument The document accessible that this access node resides in. Read only. Note: Renamed from accessibleDocument in Gecko 2.0 DOMNode Node The DOM node this nsIAccessNode is associated with. Read only. firstChildNode nsIAccessNode The first nsIAccessNode child. Read only. Obsolete since Gecko 2.0 innerHTML DOMString The innerHTML for the DOM node ...
... ownerWindow voidPtr The OS window handle for the window this node is being displayed in. Read only. Native code only! Obsolete since Gecko 8.0 parentNode nsIAccessNode The parent nsIAccessNode. Read only. Obsolete since Gecko 2.0 previousSiblingNode nsIAccessNode The previous nsIAccessNode sibling. Read only. Obsolete since Gecko 2.0 rootDocument nsIAccessibleDocument The root document accessible that this access node resides in. Read only. uniqueID voidPtr A unique ID calculated for this DOM node, for the purposes of caching and referencing this object. Read only. Native code only! Methods getChildNodeAt() Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Get the nth child of t...
...And 4 more matches
Accessible Toolkit Checklist
lity solution is major work, and will require more than one full time person as well as cooperation from Windows assistive technology vendors when parts of your MSAA solution isn't working. Often these kinds of toolkits don't use a separate window for each control; in that case remember to generate a unique 32 bit child ID for each control so that the MSAA event system can call back for the right IAccessible for each event. The Checklist This checklist is currently only for Microsoft Windows, but should be expanded to include information about Linux and OS X. It is maintained by the Mozilla Accessibility Community. Contributions are welcome. General Dialogs/windows/general Escape key cancels dialogs and refocuses the previously focused on the parent window. Alt+F4 closes windows,...
...ships are exposed correctly in each window's MSAA tree General MSAA support Focus events Handling event callbacks, which requires a unique ID for each non-windowed child of every widget that can be focused or have any other event associated with it. For example, a unique child ID would be required for each tree item Supporting the most important basic IAccessible events get_accParent: Get the parent of an IAccessible. get_accChildCount: Get the number of children of an IAccessible. get_accChild: Get the child of an IAccessible. get_accName: Get the "name" of the IAccessible, for example the name of a button, checkbox or menu item. This is one reason why a label must be created together with each widget, rather than ...
...is it a link, static text, editable text, a checkbox, or a table cell, etc. ...
...And 3 more matches
DoAction
<< nsIAccessible Page Summary This method performs the accessible action at the given zero-based index. Action number 0 is the default action. void doAction( in PRUint8 aIndex ); Parameters aIndex[in] The zero-based index. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. NS_ERROR_INVALID_ARG Indicates that the given index is our of range. ...
...age Summary This method performs the accessible action at the given zero-based index. ...
...erforms the accessible action at the given zero-based index. Action number 0 is the default action. ...
...at the given zero-based index. Action number 0 is the default action. ...
GetAccessibleAbove
<< nsIAccessible Page Summary This method returns an accessible node geometrically above this one. nsIAccessible getAccessibleAbove(); Return value Returns an accessible node geometrically above this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically above this one. nsIAccessible getAccessibleAbove(); Return value Returns an accessible node geometrically above this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically above this one. nsIAccessible getAccessibleAbove(); Return value Returns an accessible node geometrically above this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically above this one. nsIAccessible getAccessibleAbove(); Return value Returns an accessible node geometrically above this one. ...
GetAccessibleBelow
<< nsIAccessible Page Summary This method returns an accessible node geometrically below this one. nsIAccessible getAccessibleBelow(); Return value Returns an accessible node geometrically below this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically below this one. nsIAccessible getAccessibleBelow(); Return value Returns an accessible node geometrically below this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically below this one. nsIAccessible getAccessibleBelow(); Return value Returns an accessible node geometrically below this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically below this one. nsIAccessible getAccessibleBelow(); Return value Returns an accessible node geometrically below this one. ...
GetAccessibleRelated
<< nsIAccessible Page Summary This method returns an accessible related to this one by the given relation type. nsIAccessible getAccessibleRelated( in unsigned long aRelationType ); Parameters aRelationType[in] The relation type between the accessible (See constants listed in relations documentation). Return value Returns an accessible which is related to the one provided by the given relation type. ...
...ype[in] The relation type between the accessible (See constants listed in relations documentation). ...
...ween the accessible (See constants listed in relations documentation). ...
...tants listed in relations documentation). ...
GetAccessibleToLeft
<< nsIAccessible Page Summary This method returns an accessible node geometrically to the left of this one. nsIAccessible getAccessibleToLeft(); Return value Returns an accessible node geometrically to the left of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the left of this one. nsIAccessible getAccessibleToLeft(); Return value Returns an accessible node geometrically to the left of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the left of this one. nsIAccessible getAccessibleToLeft(); Return value Returns an accessible node geometrically to the left of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the left of this one. nsIAccessible getAccessibleToLeft(); Return value Returns an accessible node geometrically to the left of this one. ...
GetAccessibleToRight
<< nsIAccessible Page Summary This method returns an accessible node geometrically to the right of this one. nsIAccessible getAccessibleToRight(); Return value Returns an accessible node geometrically to the right of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the right of this one. nsIAccessible getAccessibleToRight(); Return value Returns an accessible node geometrically to the right of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the right of this one. nsIAccessible getAccessibleToRight(); Return value Returns an accessible node geometrically to the right of this one. ...
... << nsIAccessible Page Summary This method returns an accessible node geometrically to the right of this one. nsIAccessible getAccessibleToRight(); Return value Returns an accessible node geometrically to the right of this one. ...
GetActionDescription
<< nsIAccessible Page Summary This method retrieves the description (localized name) of the accessible action at the given zero-based index. AString getActionDescription( in PRUint8 aIndex ); Parameters aIndex[in] The zero-based index. Return value Returns the description of the accessible action. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. NS_ERROR_INVALID_ARG Indicates that the given index is our of range. ...
...ssible action at the given zero-based index. ...
...n zero-based index. ...
...etActionDescription( in PRUint8 aIndex ); Parameters aIndex[in] The zero-based index. ...
GetActionName
<< nsIAccessible Page Summary This method retrieves the name of the accessible action at the given zero-based index. AString getActionName( in PRUint8 aIndex ); Parameters aIndex[in] The zero-based index. Return value Returns the name of the accessible action. Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree.NS_ERROR_INVALID_ARG Indicates that the given index is our of range. ...
...ame of the accessible action at the given zero-based index. ...
...ion at the given zero-based index. ...
...String getActionName( in PRUint8 aIndex ); Parameters aIndex[in] The zero-based index. ...
GetRelation
<< nsIAccessible Page Summary This method returns accessible relation for this accessible object by index. nsIAccessibleRelation getRelation( in unsigned long aIndex ); Parameters aIndex[in] The index for which relation is to be retrieved. Return value Returns nsIAccessibleRelation object for this accessible. Exception thrown NS_ERROR_INVALID_ARG Indicates that the given index is invalid. Remark Currently we do not support multiple relations so the zero index may be valid only. Refer to relations documentation for more info. ...
...igned long aIndex ); Parameters aIndex[in] The index for which relation is to be retrieved. Return value Returns nsIAccessibleRelation object for this accessible. Exception thrown NS_ERROR_INVALID_ARG Indicates that the given index is invalid. Remark Currently we do not support multiple relations so the zero index may be valid only. Refer to relations documentation for more info. ...
...ers aIndex[in] The index for which relation is to be retrieved. Return value Returns nsIAccessibleRelation object for this accessible. Exception thrown NS_ERROR_INVALID_ARG Indicates that the given index is invalid. Remark Currently we do not support multiple relations so the zero index may be valid only. Refer to relations documentation for more info. ...
...which relation is to be retrieved. Return value Returns nsIAccessibleRelation object for this accessible. Exception thrown NS_ERROR_INVALID_ARG Indicates that the given index is invalid. Remark Currently we do not support multiple relations so the zero index may be valid only. Refer to relations documentation for more info. ...
GetRelations
<< nsIAccessible Page Summary This method returns multiple accessible relations for this accessible object. nsIArray getRelations(); Return value Returns nsIArray array of accessible relations for this object, every accessible relation object implements nsIAccessibleRelation interface. ...
... << nsIAccessible Page Summary This method returns multiple accessible relations for this accessible object. nsIArray getRelations(); Return value Returns nsIArray array of accessible relations for this object, every accessible relation object implements nsIAccessibleRelation interface. ...
... << nsIAccessible Page Summary This method returns multiple accessible relations for this accessible object. nsIArray getRelations(); Return value Returns nsIArray array of accessible relations for this object, every accessible relation object implements nsIAccessibleRelation interface. ...
... << nsIAccessible Page Summary This method returns multiple accessible relations for this accessible object. nsIArray getRelations(); Return value Returns nsIArray array of accessible relations for this object, every accessible relation object implements nsIAccessibleRelation interface. ...
NumActions
<< nsIAccessible Page Summary The number of accessible actions associated with this accessible. ...
... << nsIAccessible Page Summary The number of accessible actions associated with this accessible. ...
... << nsIAccessible Page Summary The number of accessible actions associated with this accessible. ...
... << nsIAccessible Page Summary The number of accessible actions associated with this accessible. ...
RelationsCount
<< nsIAccessible Page Summary Returns the number of accessible relations for this object. ...
... << nsIAccessible Page Summary Returns the number of accessible relations for this object. ...
... << nsIAccessible Page Summary Returns the number of accessible relations for this object. ...
... << nsIAccessible Page Summary Returns the number of accessible relations for this object. ...
Multiprocess on Windows
he mozilla::mscom::To*UniquePtr functions in ipc/mscom/Ptr.h to create new instances of these. There is also a mozilla::mscom::getter_AddRefs() function that allows these pointers to receive outparams. ...
..._AddRefs() function that allows these pointers to receive outparams. Simple Example Now you know about MainThreadHandoff::WrapInterface and about the smart pointers, you're ready to wrap an interface: Accessible* myAccessible = ....; mozilla::mscom::STAUniquePtr<IAccessible> accToWrap; myAccessible->GetNativeInterface(mozilla::mscom::getter_AddRefs(accToWrap)); mozilla::mscom::ProxyUniquePtr<IAccessible> wrapped; HRESULT hr = mozilla::mscom::MainThreadHandoff::WrapInterface(mozilla::Move(accToWrap), mozilla::mscom::getter_AddRefs(wrapped)); if (FAILED(hr)) { // Handle your error here } // The wrapped interface should be given to the AT from within the MTA. Given the generic accessible myAccessible, we first obtain the native (i.e.
... in accToWrap. We use STAUniquePtr, because MainThreadHandoff::WrapInterface requires one in its input. Integrating interceptors into the a11y tree Now that we have solved the apartment problem, and know how to wrap a COM interface with an interceptor, we need to discuss how these things fit into the a11y tree. In general, the only COM objects which should need to be explicitly wrapped are the IAccessibles for top-level documents in the content process. As mentioned previously, the interceptor will automatically wrap outparams. When a wrapped COM object is queried for its children, those children are provided as outparams, and will themselves be wrapped. ...
Gecko events
EVENT_DOM_CREATE An object has been created. Is Supported: yes EVENT_DOM_DESTROY An object has been destroyed. Is Supported: yes EVENT_DOM_SIGNIFICANT_CHANGE An object's properties or content have changed significantly so that the type of object has really changed, and therefore the accessible should be destroyed or recreated. ...
...OPERTY_CHANGED Is Supported: no EVENT_SELECTION_CHANGED Is Supported: yes EVENT_TEXT_ATTRIBUTE_CHANGED A text object's attributes changed. Also see EVENT_OBJECT_ATTRIBUTE_CHANGED Is Supported: no EVENT_TEXT_CARET_MOVED The caret has moved to a new position. Is Supported: yes EVENT_TEXT_CHANGED This event indicates general text changes, i.e. changes to text that is exposed through the IAccessibleText and IAccessibleEditableText interfaces. Is Supported: no EVENT_TEXT_INSERTED Text was inserted. Is Supported: yes EVENT_TEXT_REMOVED Text was removed. EVENT_TEXT_UPDATED Text was updated. EVENT_TEXT_SELECTION_CHANGED The text selection changed. EVENT_VISIBLE_DATA_CHANGED A visibile data event indicates the change of the visual appearance of an accessible object. This includes for examp...
... Is Supported: no EVENT_TEXT_INSERTED Text was inserted. Is Supported: yes EVENT_TEXT_REMOVED Text was removed. EVENT_TEXT_UPDATED Text was updated. EVENT_TEXT_SELECTION_CHANGED The text selection changed. EVENT_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. EVENT_TEXT_COLUMN_CHANGED The caret moved from one column to the next. EVENT_SECTION_CHANGED The caret moved from one section to the next. EVENT_TABLE_CAPTION_CHANGED A table caption changed. EVENT_TABLE_MODEL_CHANGED A table's data changed. EVENT_TABLE_SUMMARY_CHANGED A table's summary changed. EVENT_TABLE_ROW_DESCRIPTION_CHANGED A table's row description changed. EVENT...
ROLE_GRAPHIC
<< Gecko Roles Page Represents a picture. ...
... << Gecko Roles Page Represents a picture. ...
... << Gecko Roles Page Represents a picture. ...
ROLE_OUTLINEITEM
<< Gecko Roles Page Represents an item in an outline or tree structure. ...
... << Gecko Roles Page Represents an item in an outline or tree structure. ...
... << Gecko Roles Page Represents an item in an outline or tree structure. ...
ROLE_ROW
<< Gecko Roles Page Represents a row of cells within a table. Also, see ROLE_TABLE. ...
... << Gecko Roles Page Represents a row of cells within a table. Also, see ROLE_TABLE. ...
... << Gecko Roles Page Represents a row of cells within a table. Also, see ROLE_TABLE. ...
Gecko states
States List STATE_UNAVAILABLE The object is unavailable, i.e. disabled. Applied to: all roles. STATE_SELECTED The object is selected, i.e. indicates this object is the child of an object that allows its children to be selected and that this child is one of those children that has been selected. ...
...ELECTABLE Supports extended selection STATE_REQUIRED Indicates that user interaction is required. STATE_IMPORTANT Isn;t used. STATE_INVALID Indicates a validation failure. ...
...IRED Indicates that user interaction is required. STATE_IMPORTANT Isn;t used. STATE_INVALID Indicates a validation failure. ...
AT APIs Support
sibility aids can track what's going on inside the user interface of any software package that supports it. If you seriously need to understand MSAA, you'll need to read the docs on MSDN and play with the sample apps and code that come with MSAA SDK 1.3. (I recommend SDK 1.3 because the MSAA SDK 2.0 doesn't come with the source code to the testing tools. The other differences are not important). IAccessible2 (IA2) IAccessible2 is a new accessibility API which complements Microsoft's earlier work on MSAA. This API fills critical accessibility API gaps in the MSAA offering. Assistive Technology Service Provider Interface (AT-SPI) an API devised by Sun Microsystems so that accessibility aids can track what's going on inside the user interface of any software package that supports it. If you seriousl...
...usly need to understand AT-SPI, you'll need to read the docs on gnome.org and play with the available sample apps and code, such as at-poke. Please note that the web docs are sometimes out of date, and the latest AT-SPI is available on CVS. Universal Access (UA) Universal Access (UA) is the Apple's accessibility framework. Windows platform We support MSAA (Microsoft Active Accessibility) and IAccessible2 on Windows. Also we expose MS COM interfaces ISimpleDOM* to provide an access to DOM tree. IAccessible2 is a set of interfaces that overlay the MSAA (IAccessible) and DOM (ISimpleDOM*) interface support. Any object that supports IAccessible will also support IAccessible2 and possibly any of the other IA2 interfaces. Linux/Unix platform We support ATK/AT-SPI interfaces on Linux. Mac platform ...
...eyboard API's for each supported platform. The Mozilla keyboard shortcuts for content are similar to what is used in other browsers. Here is a list of Firefox keyboard shortcuts. Test Tools Here you will find a list of tools to test accessibility Gecko-based applications. MSAA MSAA SDK tools - version 1.3 is recommended instead of 2.0 because it includes source code for the tools IAccessible2 Accessibility Probe -- includes MSAA support as well ATK/AT-SPI Accerciser - interactive Python accessibility explorer for the GNOME desktop Gecko DOM Inspector has an ability to test Gecko accessibility layer, supports base features. Firebug Screen Readers Here's a list of screen readers we are oriented to in the first place. Windows platform JA...
DefaultKeyBinding
<< nsIAccessible Page Summary Provides localized string of global keyboard accelerator for default action, such as Ctrl+O for Open file (Ctrl + O). ...
... << nsIAccessible Page Summary Provides localized string of global keyboard accelerator for default action, such as Ctrl+O for Open file (Ctrl + O). ...
... << nsIAccessible Page Summary Provides localized string of global keyboard accelerator for default action, such as Ctrl+O for Open file (Ctrl + O). ...
ExtendSelection
<< nsIAccessible Page Summary This method extends the current selection from its current accessible anchor node to this accessible. void extendSelection(); Exceptions thrown NS_ERROR_NOT_IMPLEMENTED Always. This method isn't implemented. ...
... << nsIAccessible Page Summary This method extends the current selection from its current accessible anchor node to this accessible. void extendSelection(); Exceptions thrown NS_ERROR_NOT_IMPLEMENTED Always. This method isn't implemented. ...
... << nsIAccessible Page Summary This method extends the current selection from its current accessible anchor node to this accessible. void extendSelection(); Exceptions thrown NS_ERROR_NOT_IMPLEMENTED Always. This method isn't implemented. ...
FocusedChild
<< nsIAccessible Page Summary Focused accessible child of node. ...
... << nsIAccessible Page Summary Focused accessible child of node. ...
... << nsIAccessible Page Summary Focused accessible child of node. ...
GetKeyBindings
<< nsIAccessible Page Summary This method provides array of localized string of global keyboard accelerator for the given action index supported by accessible. nsIDOMDOMStringList getKeyBindings( in PRUint8 aActionIndex ); Parameters aActionIndex[in] Index of the given action. Return Values Returns array of localized string of global keyboard accelerator. Exceptions thrown NS_ERROR_INVALID_ARG The given index doesn't correspond to default action (not zero). Remark Key bindings are supported for default action only. ...
...by accessible. ...
...List getKeyBindings( in PRUint8 aActionIndex ); Parameters aActionIndex[in] Index of the given action. Return Values Returns array of localized string of global keyboard accelerator. Exceptions thrown NS_ERROR_INVALID_ARG The given index doesn't correspond to default action (not zero). Remark Key bindings are supported for default action only. See Also nsIAccessible.defaultKeyBinding nsIAccessible.keyboardShortcut ...
KeyboardShortcut
<< nsIAccessible Page Summary Provides localized string of accesskey name, such as Alt+D (Alt + D). The modifier may be affected by user and platform preferences. Usually alt+letter (Alt + letter), or just the letter alone for menu items. ...
... << nsIAccessible Page Summary Provides localized string of accesskey name, such as Alt+D (Alt + D). The modifier may be affected by user and platform preferences. Usually alt+letter (Alt + letter), or just the letter alone for menu items. ...
... << nsIAccessible Page Summary Provides localized string of accesskey name, such as Alt+D (Alt + D). The modifier may be affected by user and platform preferences. Usually alt+letter (Alt + letter), or just the letter alone for menu items. ...
SetSelected
<< nsIAccessible Page Summary This method adds or remove this accessible to the current selection. void setSelected( in boolean aIsSelected ); Parameters aIsSelected[out] The current selection Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary This method adds or remove this accessible to the current selection. void setSelected( in boolean aIsSelected ); Parameters aIsSelected[out] The current selection Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary This method adds or remove this accessible to the current selection. void setSelected( in boolean aIsSelected ); Parameters aIsSelected[out] The current selection Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
TakeSelection
<< nsIAccessible Page Summary This method selects this accessible node only. void takeSelection(); Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary This method selects this accessible node only. void takeSelection(); Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
... << nsIAccessible Page Summary This method selects this accessible node only. void takeSelection(); Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. ...
WAI ARIA Live Regions/API Support - Developer guides
oth for pages that are marked up with ARIA live region markup, and for pages where the author did not add any additional markup. Please read the ARIA spec or the live region report to learn about ARIA live region markup. As always, we're open to questions and suggestions for changes in community forums. ...
...ject) EVENT_OBJECT_SHOW* (fired on the actual new accessible object) Object replaced with different object (this happens especially if an object's interfaces or role changes) children_changed::remove followed immediately by children_change::add EVENT_OBJECT_HIDE followed immediately by EVENT_OBJECT_SHOW Text removed text_changed::delete IA2_EVENT_TEXT_REMOVED (use IAccessibleText::get_oldText to retrieve the offsets and removed text) Text inserted text_changed::insert IA2_EVENT_TEXT_INSERTED (use IAccessibleText::get_newText to retrieve the offsets and inserted text) Text replaced text_changed::delete followed immediately by text_changed::insert IA2_EVENT_TEXT_REMOVED followed immediately by IA2_EVENT_TEXT_INSERTED * We do not use M...
...e] attribute has not been set, the AT must have code to fall back on the default value as defined in the W3C spec. Determining if event was from user input All events will now provide information about whether the event was caused by user input, or was something that the web page caused. This information is retrieved differently on each platform, because some platforms use asynchronous events. In IAccessible2, this is retrieved from the object attribute "event-from-input", which will be set to "true" or "false". If it is not present, then something went wrong and Mozilla was not able to provide this information. This information is available only for EVENT_SHOW, EVENT_HIDE, IA2_EVENT_TEXT_INSERTED and IA2_EVENT_TEXT_REMOVED. For ATK/AT-SPI, this information is retrieved by checking the event name. If...
Textbox (XPFE autocomplete) - Archive of obsolete content
-proof); 3) Use setUserData() (future-proof and clean, but not easily serializable). For user editable menulist elements, the contents, as visible to the user, are read and set using the Menulist.value syntax. For those elements, setAttribute("value", myValue) and getAttribute("value") do not access or affect the contents displayed to the user. Properties accessible Type: nsIAccessible Returns the accessibility object for the element. alwaysOpenPopup Obsolete since Gecko 1.9.1 Type: boolean Gets and sets the value of the alwaysopenpopup attribute. autoFill Type: boolean Gets and sets the value of the autofill (or autoFill) attribute. autoFillAfterMatch Obsolete since Gecko 1.9.1 Type: boolean Gets and sets the value of the autoFillAf...
... first character to select and the end argument is the index of the character after the selection. Set both arguments to the same value to move the cursor to the corresponding position without selecting text. syncSessions( autoCompleteElement ) Obsolete since Gecko 26 Return type: void Copy the sessions from another autocomplete element. Related Interfaces nsIAccessibleProvider, nsIDOMXULMenuListElement ...
listitem - Archive of obsolete content
menulist elements, the contents, as visible to the user, are read and set using the Menulist.value syntax. For those elements, setAttribute("value", myValue) and getAttribute("value") do not access or affect the contents displayed to the user. Properties accessKey Type: character Gets and sets the value of the accesskey attribute. accessible Type: nsIAccessible Returns the accessibility object for the element. checked Type: boolean Gets and sets the value of the checked attribute. control Type: element id Gets and sets the value of the control attribute. crop Type: string Gets and sets the value of the crop attribute. current Type: boolean Gets and sets the value of the c...
...e used to style the element. ...
richlistitem - Archive of obsolete content
roof); 3) Use setUserData() (future-proof and clean, but not easily serializable). For user editable menulist elements, the contents, as visible to the user, are read and set using the Menulist.value syntax. For those elements, setAttribute("value", myValue) and getAttribute("value") do not access or affect the contents displayed to the user. Properties accessible Type: nsIAccessible Returns the accessibility object for the element. control Type: element id Gets and sets the value of the control attribute. disabled Type: boolean Gets and sets the value of the disabled attribute. label Type: string Gets the concatentation of text from any child label elements. Does not support setting label values. Use the child e...
...), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider, nsIDOMXULSelectControlItemElement ...
toolbargrippy - Archive of obsolete content
Inherited Properties align, , allowEvents, , boxObject, builder, , , , className, , , , , collapsed, contextMenu, controllers, database, datasources, dir, , , flex, height, hidden, id, , , left, , maxHeight, maxWidth, menu, minHeight, minWidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , stat...
...lector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements toolbar, toolbarbutton, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox Interfaces nsIAccessibleProvider ...
toolbox - Archive of obsolete content
customToolbarCount Firefox only Type: integer The number of custom toolbars currently within the toolbox. externalToolbars Type: array of elements An array of external toolbars; that is, toolbar elements that should be considered to be members of this toolbox, even if they are not actually children of the ...
...no return value Collapse the given toolbar which should be contained within the toolbox. expandToolbar( toolbar ) Not in Firefox Return type: no return value Expand the given toolbar which should be contained in the toolbox. Related Elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring Interfaces nsIAccessibleProvider ...
Gecko object attributes
Object attributes are relevant for the entire subtree of the object they are on, unless they are overridden by a descendent with the same object attribute. This is in contrast to text attributes, which apply only to substrings in a text object. Object Attributes List ARIA attributes All ARIA attributes used on DOM element (i.e., any attribute prefixed by 'aria-') are exposed as object attributes; name is preserved except the 'aria-' prefix is cut. Common attributes class The class name for an element from HTML, XUL, SVG, etc. ...
... same way a manual click does. Applied to: ROLE_CELL for the <xul:tree/> Note: it's not exposed currently Table related attributes layout-guess true when Gecko's heuristic determines that it is a table that is probably used for layout, not for table. Value not set means it is probably a data table. Applied to: ROLE_TABLE table-cell-index The index of the table cell accessible. Use nsIAccessibleTable and nsIAccessibleTableCell instead. Applied to ROLE_CELL Hypertext attributes formatting "block" if the object uses block formatting, and thus starts on a new line and ends with a hard line break that is not visible in the actual text. For example, a heading, paragraph, or list item is typically formatted as a block, but there is no requirement to do so. Their formatting may have be...
GroupPosition
Refer to accessible web specifications to get an idea what elements expose group information. ...
... Refer to accessible web specifications to get an idea what elements expose group information. ...
TakeFocus
<< nsIAccessible Page Summary This method focuses this accessible node. void takeFocus(); Remarks The state STATE_FOCUSABLE indicates whether this node is normally focusable. It is the callers responsibility to determine whether this node is focusable.accTakeFocus on a node that is not normally focusable (such as a table), will still set focus on that node, although normally that will not be visually indicated in most style sheets. ...
...this accessible node. ...
XPCOM Interface Reference by grouping
nal nsIDOMWindowUtils nsIDynamicContainer nsIEditor Event nsIDOMEvent nsIDOMEventGroup nsIDOMEventListener nsIDOMEventTarget nsIDOMMouseScrollEvent nsIDOMMozTouchEvent nsIDOMOrientationEvent nsIDOMProgressEvent nsIDOMSimpleGestureEvent nsIDragDropHandler nsIDragService nsIDragSession HTML nsIAccessibilityService nsIAccessibleCoordinateType nsIAccessibleDocument nsIAccessibleEditableText nsIAccessibleEvent nsIAccessibleHyperLink nsIAccessibleHyperText nsIAccessibleImage nsIAccessibleProvider nsIAccessibleRetrieval nsIAccessibleRole nsIAccessibleScrollType nsIAccessibleSelectable nsIAccessibleStates nsIAccessibleTable nsIAccessibleText nsIAccessibleTreeCache ...
...inateType nsIAccessibleDocument nsIAccessibleEditableText nsIAccessibleEvent nsIAccessibleHyperLink nsIAccessibleHyperText nsIAccessibleImage nsIAccessibleProvider nsIAccessibleRetrieval nsIAccessibleRole nsIAccessibleScrollType nsIAccessibleSelectable nsIAccessibleStates nsIAccessibleTable nsIAccessibleText nsIAccessibleTreeCache nsIAccessibleValue nsIAccessNode nsISyncMessageSender Script nsIScriptableUnescapeHTML nsIScriptableUnicodeConverter nsIScriptError nsIScriptError2 StyleSheet nsIStyleSheetService URL nsIURI nsIURL Util nsIDOMSerializer nsIDOMXPathEvaluator nsIDOMXPathException nsIDOMXPathExpression nsIDOMXPathResult XSLT nsIXSL...
accessible - Archive of obsolete content
...
accessible - Archive of obsolete content
...
textbox (Toolkit autocomplete) - Archive of obsolete content
etSelectionRange( start, end ) Return type: no return value Sets the selected portion of the textbox, where the start argument is the index of the first character to select and the end argument is the index of the character after the selection. Set both arguments to the same value to move the cursor to the corresponding position without selecting text. Related Interfaces nsIAccessibleProvider, nsIAutoCompleteInput, nsIDOMXULMenuListElement Articles How to implement custom autocomplete search component ...
browser - Archive of obsolete content
value Swaps the content, history and current state of this browser with another browser. During the swap, pagehide and pageshow events are fired on both browsers. This method can be used to move browser between windows or tear off a browser into a new window. Note: Both browsers must be either standalone browsers or embedded in a tabbrowser. You can't mix them. Related Interfaces nsIAccessibleProvider ...
button - Archive of obsolete content
), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider, nsIDOMXULButtonElement ...
checkbox - Archive of obsolete content
), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider, nsIDOMXULCheckboxElement ...
editor - Archive of obsolete content
), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider ...
groupbox - Archive of obsolete content
), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider ...
iframe - Archive of obsolete content
sChildNodes(), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related nsIAccessibleProvider ...
image - Archive of obsolete content
Archive › Mozilla › XUL › image
and the other icon classes may be used by image elements or other elements which can have an image. error-icon Class that adds an error icon. This will typically be a red "X" icon. message-icon Class that adds a message box icon. question-icon Class that adds a question icon, which usually looks like a question mark. Related See also the image and icon attributes. Interfaces nsIAccessibleProvider nsIDOMXULImageElement ...
label - Archive of obsolete content
Archive › Mozilla › XUL › label
border or margin. small-margin This class causes the text to be displayed with a smaller margin. text-link Labels with this class may be focused and the click handler run or the address in the href attribute opened on a mouse click or Enter key press. Labels will appear like a link (blue and underlined). Related Elements description Attributes label Interfaces nsIAccessibleProvider, nsIDOMXULLabelElement Notes Labels are not focusable Note: Starting in Gecko 2.0, labels are properly not focusable. They used to incorrectly inherit from nsIDOMXULControlElement. The caption is in the "value" attribute Remember that the label element has a "value" attribute, unlike value in HTML whereas buttons, checkboxes use label="foo" as the attribute <label label="A Caption"/> ...
listbox - Archive of obsolete content
ll other items are deselected. ...
menu - Archive of obsolete content
Archive › Mozilla › XUL › menu
is returned. removeItemAt( index ) Return type: element Removes the child item in the element at the specified index. ...
menubar - Archive of obsolete content
isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements menu, menuitem, menulist, menupopup, menuseparator Interfaces nsIAccessibleProvider ...
menuitem - Archive of obsolete content
c Use this class to have an image appear on the menuitem. Specify the image using the image attribute. ...
menulist - Archive of obsolete content
e menu. ...
menupopup - Archive of obsolete content
be one of the strings popup, context, or tooltip. ...
menuseparator - Archive of obsolete content
eNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements menu, menubar, menuitem, menulist, menupopup Interfaces nsIAccessibleProvider, nsIDOMXULContainerItemElement, nsIDOMXULSelectControlItemElement ...
panel - Archive of obsolete content
Archive › Mozilla › XUL › panel
ype: no return value Open the popup at a specific screen position specified by x and y. This position may be adjusted if it would cause the popup to be off of the screen. The x and y coordinates are measured in CSS pixels. sizeTo( width, height ) Return type: no return value Changes the current size of the popup to the new width and height. Related Interfaces nsIAccessibleProvider, nsIDOMXULPopupElement ...
progressmeter - Archive of obsolete content
), insertBefore(), isDefaultNamespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Interfaces nsIAccessibleProvider ...
radio - Archive of obsolete content
Archive › Mozilla › XUL › radio
ce(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements radiogroup, checkbox Interfaces nsIAccessibleProvider, nsIDOMXULSelectControlItemElement, nsIDOMXULLabeledControlElement ...
radiogroup - Archive of obsolete content
sertItemAt( index, label, value ) Return type: element This method creates a new item and inserts it at the specified position. You may optionally set a value. The new item element is returned. removeItemAt( index ) Return type: element Removes the child item in the element at the specified index. The method returns the removed item. Related Interfaces nsIAccessibleProvider, nsIDOMXULSelectControlElement ...
richlistbox - Archive of obsolete content
nt item after the number of milliseconds given by the timeout argument. ...
statusbar - Archive of obsolete content
mespace(), isEqualNode, isSameNode, isSupported(), lookupNamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements statusbarpanel Interfaces nsIAccessibleProvider ...
tab - Archive of obsolete content
Archive › Mozilla › XUL › tab
tAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Notes Note: Prior to Gecko 1.9, disabling tabs fails; even while disabled, they still accept events. Also, "unhiding" a tab leads to unpredictable ordering of the tabs. See bug 307088 and bug 261826. Use collapsed instead of hidden. Related Elements tabbox, tabs, tabpanels, tabpanel. Interfaces nsIAccessibleProvider, nsIDOMXULSelectControlItemElement ...
tabpanels - Archive of obsolete content
selectedIndex Type: integer Returns the index of the currently selected item. You may select an item by assigning its index to this property. By assigning -1 to this property, all items will be deselected. Returns -1 if no items are selected selectedPanel Type: element Holds a reference to the currently select...
tabs - Archive of obsolete content
Archive › Mozilla › XUL › tabs
rn type: element This method creates a new item and inserts it at the specified position. You may optionally set a value. The new item element is returned. removeItemAt( index ) Return type: element Removes the child item in the element at the specified index. The method returns the removed item. Related Elements tabbox, tab, tabpanels, tabpanel. Interfaces nsIAccessibleProvider, nsIDOMXULSelectControlElement ...
textbox - Archive of obsolete content
xtbox id="pnNote" multiline="true" rows="2" cols="70" onkeypress="return pnCountNoteChars(event);"/> The Javascript: function pnCountNoteChars(evt) { //allow non character keys (delete, backspace and and etc.) if ((evt.charCode == 0) && (evt.keyCode != 13)) return true; if (evt.target.value.length < 10) { return true; } else { return false; } } Related Interfaces nsIAccessibleProvider, nsIDOMXULTextBoxElement ...
toolbar - Archive of obsolete content
ar When this class is used, the toolbar will be hidden when a window is opened by setting the toolbar option to no in the window.open method. Otherwise, this option will be ignored for this toolbar and it will always be visible. Related Elements toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox Interfaces nsIAccessibleProvider ...
toolbarbutton - Archive of obsolete content
querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements toolbar, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbarspring, toolbox Interfaces nsIAccessibleProvider, nsIDOMXULButtonElement ...
toolbarspacer - Archive of obsolete content
lector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspring, toolbox Interfaces nsIAccessibleProvider ...
toolbarspring - Archive of obsolete content
orAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements toolbar, toolbarbutton, toolbargrippy, toolbaritem, toolbarpalette, toolbarseparator, toolbarset, toolbarspacer, toolbox Interfaces nsIAccessibleProvider ...
tree - Archive of obsolete content
Archive › Mozilla › XUL › tree
cell currently being edited. If the shouldAccept parameter is true, the cell's label is changed to the edited value (the tree view's nsITreeView.setCellText() method is called to change the cell contents). Otherwise the cell label is reverted to the value it had prior to editing. Related Elements treecols, treecol, treechildren, treeitem, treerow, treecell and treeseparator.. ...
treecol - Archive of obsolete content
This class should be used instead of changing the style of the element directly since it will fit more naturally with the user's selected theme. treecol-image Use this class to have an image appear on the tree column header. Specify the image using the src attribute. Related Elements tree, treecols, treechildren, treeitem, treerow, treecell and treeseparator. Interfaces nsIAccessibleProvider ...
treecols - Archive of obsolete content
NamespaceURI, lookupPrefix, normalize(), querySelector(), querySelectorAll(), removeAttribute(), removeAttributeNode(), removeAttributeNS(), removeChild(), removeEventListener(), replaceChild(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), setAttributeNS(), setUserData Related Elements tree, treecol, treechildren, treeitem, treerow, treecell and treeseparator. Interfaces nsIAccessibleProvider ...
Building XULRunner with Python - Archive of obsolete content
n. Currently (Mar 07) Python is not enabled by default so a custom build of Mozilla is needed. This page provides instructions in the hope of eliminating much trial and error. You should also read the the developer documentation on source code and building as wells as PyXPCOM XULRunner with Python promises to be a good platform for accessibility projects and both Jambu Alternative Input and the IAccessible2 test tool are using it. Of particular interested is access to MSAA and IAccessible2 via the Python comtypes package. Development Machine Setup First a word of warning that ZoneAlarm has exhibited memory leaks that cause build machines to crash with rather spurious errors. You may want to uninstall it if you suspect this to be a problem. You will also want to disable any virus scanner residen...
2006-11-22 - Archive of obsolete content
pleased to announce that the Mozilla Foundation has approved a grant spearheaded by himself and Aaron Leventhal for "Improved Switch Access to Firefox". He expressed his gratitude and thanks everyone for being supportive during and after the Summit. Click here for more details. IDispatch support for JAWS scripting needed Aaron Leventhal stated that currently there is no IDispatch support for IAccessible's in Mozilla. If anyone has experience with these issues, and is comfortable helping out in the mozilla/accessible module, would you please take a look at https://bugzilla.mozilla.org/show_bug.cgi?id=166994 He stated that he almost had it working a couple of years ago. The bug has a very old patch which will no longer be easy to apply but may provide clues as to where they are going wrong. For ...
What is accessibility? - Learn web development
perating system) that expose information useful for assistive technologies (ATs) -- ATs mostly tend to make use of semantic information, so this information doesn't include things like styling information, or JavaScript. This information is structured in a tree of information called the accessibility tree. Different operating systems have different accessibility APIs available : Windows: MSAA/IAccessible, UIAExpress, IAccessible2 Mac OS X: NSAccessibility Linux: AT-SPI Android: Accessibility framework iOS: UIAccessibility Where the native semantic information provided by the HTML elements in your web apps falls down, you can supplement it with features from the WAI-ARIA specification, which add semantic information to the accessibility tree to improve accessibility. You can learn a lot more...
Accessibility API cross-reference
ation of the term 'Abstract role' Fill out HTML column Create AOM column Fill out XUL column. ...
Software accessibility: Where are we today?
Ensure correct keyboard accessibility when developing new controls: Mozilla's XUL and HTML widgets already support proper keyboard accessibility, so let's not regress in that area. Make sure that every new UI control that's developed provides the correct keyboard support. Follow the Accessible toolkit checklist whenever using XBL to create a new widget. Support MSAA and ATK via nsIAccessible when developing new controls: Mozilla is a great position to provide context so that custom controls can be made accessible. Engineers can provide context simply by creating an nsIAccessible for each custom control. The infrastructure to do this is straightforward. Other developers No matter what kind of work you do, the basis of accessibility is the need to understand that every user is dif...
Accessibility and Mozilla
lity/LiveRegionDevGuideThis page is currently under construction. This developer's guide lays out general guidelines that assistive technology (AT) developers can use in developing live region support. This guide was written from an ATK/AT-SPI point of view as part of the Orca Live Region Support project. However, many of the concepts were also used during the development of FireVox, an AT using IAccessible2.Accessible Toolkit ChecklistPlease contact the Mozilla Accessibility Community with questions or feedback.CSUN Firefox MaterialsFirefox 1.5 is a fast, free, standards compliant web browser which is rapidly gaining recognition for its fresh, streamlined approach to browsing the web. In addition to winning major awards such as PC World Product of the Year, Firefox has attracted a huge following am...
ROLE_COLUMNHEADER
<< Gecko Roles Page Represents a column header, providing a visual label for a column in a table. Also refer to ROLE_TABLE. ...
ROLE_MENUITEM
<< Gecko Roles Page Represents a menu item, which is an entry in a menu that a user can choose to carry out a command, select an option. Interfaces nsIAccessNode nsIAccessible Children No children. Mapped to AT-SPI: ROLE_MENU_ITEM ATK: ATK_ROLE_MENU_ITEM UA: NSAccessibilityMenuItemRole MSAA/ IA2: ROLE_SYSTEM_MENUITEM Used by ARIA: menuitem XUL: <menuitem/> ...
Gecko Roles
ROLE_NOTHING Used when the accessible item doesn't have a strongly defined role. ROLE_TITLEBAR Represents a title or caption bar for a window. Used by MSAA only, this is supported automatically by Microsoft Windows. ROLE_MENUBAR Represents the menu bar (positioned beneath the title bar of a window on most platforms or at the top of the screen on Mac OS X) from which menus are selected by the user. ...
Implementation Details
differences between Gecko based applications and other applications. MSAA AT-SPI How to Find the Content Window and Load the Document In XUL-based clients, screen readers may need to find the content window so that they know where to start grabbing the accessible tree, in order to load the current document into a buffer in their own process. Refer to specific pages for interested AT API. MSAA/IAccessible2 AT-SPI Avoiding Memory Leaks It is the assistive technology's responsibility to watch for events that indicate when windows or content subtrees are being destroyed, and to release all Accessible objects related to that window. In addition, STATE_DEFUNCT is set on objects that should be released by the assistive technology. Mutation events should be watched to invalidate the cache. Under MSAA/I...
AT Development
. Guidelines AT APIs Implementation by Gecko AT vendors guide to support Gecko-based applications like Firefox, Thunderbird and so on. Accessibility Architecture How the accessibility hierarchy is implemented in Mozilla (some issues aren't addressed by previous guide). Building XULRunner with Python How to build XULRunner with Python on Windows. Then comtypes gives access to MSAA and IAccessible2. References AT APIs Implementation References Shows how Gecko handles ATK, IAccessible2, MSAA and Universal Access API Accessible Web Specifications References Provides the map of reflecting web specification to AT APIs. This page includes: ARIA References - W3C specification reflecting ARIA mapping into AT APIs. XForms References - Gecko documentation showing how XForms contr...
XForms Accessibility
elledby attribute. description It is formed from value of child XForms hint element if the element doesn't have describedby attribute. state It is formed as well from model item properties (MIPs) of instance node that XForms element is bound to as from valid/invalid or in-range/out-of-range states of instance node. Instance node states are mapped to accessibility state constants declared in nsIAccessibleStates interface like it shown below: relevant - STATE_UNAVAILABLE readonly - STATE_READONLY required - STATE_REQUIRED invalid - STATE_INVALID out of range - STATE_INVALID attributes Redefines datatype ARIA attribute. Its value is XML Schema builit-in datatype of instance node that XForms element is bound to. children Mozilla XForms implementation allows form control elements to have c...
Attributes
<< nsIAccessible Page Summary Attributes of accessible. attribute nsIPersistentProperties attributes; ...
Description
<< nsIAccessible Page Summary Accessible description -- long text associated with this node. attribute AString description; ...
GetBounds
void getBounds( out long aX, out long aY, out long aWidth, out long aHeight ) Parameters aX[out] Accessible's X-coordinate. aY[out] Accessible's Y-coordinate. aWidth[out] Accessible's width. aHeight[out] Accessible's height. ...
GetChildAtPoint
Return value Returns an accessible child at given (x, y) coordinate. Remarks If the point is in the current accessible but not in a child, the current accessible will be returned. If the point is in neither the current accessible or a child, then NULL will be returned. ...
GetState
void getState( out unsigned long aState, out unsigned long aExtraState ); Parameters aState[out] The first bit field (See STATE_* constants in states documentation).aExtraState[out] The second bit field (See EXT_STATE_* constants in states documentation). Exceptions thrown NS_ERROR_FAILURE Indicates that the accessible is unattached from the accessible tree. Remarks Accessible states are stored as bit fields which describe boolean properties of node. Many states are only valid given a certain role attribute that supports them. Refer to states documentation for more information. ...
Help
<< nsIAccessible Page Summary Help text associated with node. attribute AString help; ...
IndexInParent
<< nsIAccessible Page Summary The 0-based index of this accessible in its parent's list of children, or -1 if this accessible does not have a parent. attribute long indexInParent; ...
Name
<< nsIAccessible Page Summary Accessible name -- the main text equivalent for this node. attribute AString name; ...
Role
The values depend on platform because of variations. See the ROLE_* constants in roles documentation. ...
Value
Widgets that use role attribute can force a value using the valuenow attribute. ...
DeleteText
...
GetLink
...
GetLinkIndex
...
LinkCount
...
GetImagePosition
...
GetImageSize
...
GetTarget
...
GetTargets
...
RelationType
...
TargetsCount
...