Accessibility
Types
A node in the accessibility tree.
Values of AXProperty name:
A single computed AX property.
Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
A single source for a computed AX property.
Enum of possible property sources.
Enum of possible property types.
The loadComplete event mirrors the load complete event sent by the browser to assistive technology when the web page has finished loading.
The nodesUpdated event is sent every time a previously requested node has changed the in tree.
Properties
Functions
Disables the accessibility domain.
Enables the accessibility domain which causes AXNodeId
s to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled.
Fetches a node and all ancestors up to and including the root. Requires enable()
to have been called previously.
Fetches a particular accessibility node by AXNodeId. Requires enable()
to have been called previously.
Fetches the entire accessibility tree for the root Document
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
Fetches the root node. Requires enable()
to have been called previously.
Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that match the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither accessibleName
or role
is specified, it returns all the accessibility nodes in the subtree.