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. See http://www.mozilla.org/projects/ui/accessibility for more information. @status UNDER_REVIEW
[scriptable, uuid(db717db4-37e9-42f1-a3b0-2579dd7c3814)]
Constants
MSAA State flags - used for bitfield. More than 1 allowed.
Extended state flags (for now non-MSAA, for Java and Gnome/ATK support) "Extended state flags" has seperate value space from "MSAA State flags".
Relation Types -- most of these come from ATK's atkrelationtype.h
RELATION_NULL:
RELATION_CONTROLLED_BY: Controlled by one or more target objects.
RELATION_CONTROLLER_FOR: Controller for one or more target objects.
RELATION_LABEL_FOR: Label for one or more target objects.
RELATION_LABELLED_BY: Labelled by one or more target objects.
RELATION_MEMBER_OF: Member of a group of one or more target objects.
RELATION_NODE_CHILD_OF: Cell in a treetable which is displayed because a
cell in the same col is expanded & identifies it.
RELATION_FLOWS_TO: Has content that flows logically to another
object in a sequential way, e.g. text flow.
RELATION_FLOWS_FROM: Has content that flows logically from another
object in a sequential way, e.g. text flow.
RELATION_SUBWINDOW_OF: Subwindow attached to a component but otherwise
not connected in the UI hierarchy to that component.
RELATION_EMBEDS: Visually embeds another object's content, i.e.
this object's content flows around another's content.
RELATION_EMBEDDED_BY: Inverse of RELATION_EMBEDS; this object's content
is visually embedded in another object.
RELATION_POPUP_FOR: Popup for another object.
RELATION_PARENT_WINDOW_OF: Parent window of another object.
RELATION_DEFAULT_BUTTON: Part of a form/dialog with a related default button.
RELATION_DESCRIBED_BY: Described by one or more target objects.
RELATION_DESCRIPTION_FOR: Description for one or more target objects.
RELATION_LAST_DEFINED:
Attributes
Accessible description -- long text associated with this node
Extended accessible states -- second bit field describing node
Enumerated accessible role. The values depend on platform because of variations. See the ROLE_* constants defined later in this file. Widgets can use role attribute to force the final role
Accessible states -- bit field which describes boolean properties of node. See the STATE_* constants defined later in this file. Many states are only valid given a certain role attribute that supports them
Accessible value -- a number or a secondary text equivalent for this node Widgets that use a role attribute can force a value using the valuenow attribute
First child in accessible tree
Focused accessible child of node
The 0-based index of this accessible in its parent's list of children, or -1 if this accessible does not have a parent.
Provides localized string of global keyboard accelerator, such as Ctrl+O for Open file
Provides localized string of accesskey name, such as Alt+D. The modifier may be affected by user and platform preferences. Usually alt+letter, or just the letter alone for menu items.
Last child in accessible tree
Next sibling in accessible tree
The number of accessible actions associated with this accessible
Parent node in accessible tree.
Previous sibling in accessible tree
Methods
Perform the accessible action at the given zero-based index Action number 0 is the default action
Extend the current selection from its current accessible anchor node to this accessible
Accessible node geometrically above this one
Accessible node geometrically below this one
Accessible node related to this one
Accessible node geometrically to the left of this one
Accessible node geometrically to the right of this one
The name of the accessible action at the given zero-based index
Nth accessible child using zero-based index or last child if index less than zero
Accessible child which contains the coordinate at x,y
Get a pointer to accessibility interface for this node, which is specific to the OS/accessibility toolkit we're running on.
Focus this accessible node, 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.
