Expand description
The Accessibility domain.
Types, command parameters and event payloads for the Accessibility
domain. The method-name constants for the same domain are in
crate::methods.
This domain is experimental and may change without notice.
Structs§
- AxNode
- A node in the accessibility tree.
- AxProperty
- AxRelated
Node - AxValue
- A single computed AX property.
- AxValue
Source - A single source for a computed AX property.
- Disable
Params - Disables the accessibility domain.
- Enable
Params - Enables the accessibility domain which causes
AXNodeIds to remain consistent between method calls. This turns on accessibility for the page, which can impact performance until accessibility is disabled. - GetAx
Node AndAncestors Params - Fetches a node and all ancestors up to and including the root. Requires
enable()to have been called previously. - GetAx
Node AndAncestors Returns - What
Accessibility.getAXNodeAndAncestorsanswers with. - GetChild
AxNodes Params - Fetches a particular accessibility node by AXNodeId. Requires
enable()to have been called previously. - GetChild
AxNodes Returns - What
Accessibility.getChildAXNodesanswers with. - GetFull
AxTree Params - Fetches the entire accessibility tree for the root Document
- GetFull
AxTree Returns - What
Accessibility.getFullAXTreeanswers with. - GetPartial
AxTree Params - Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
- GetPartial
AxTree Returns - What
Accessibility.getPartialAXTreeanswers with. - GetRoot
AxNode Params - Fetches the root node. Requires
enable()to have been called previously. - GetRoot
AxNode Returns - What
Accessibility.getRootAXNodeanswers with. - Load
Complete Event - The loadComplete event mirrors the load complete event sent by the browser to assistive technology when the web page has finished loading.
- Nodes
Updated Event - The nodesUpdated event is sent every time a previously requested node has changed the in tree.
- Query
AxTree Params - 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
accessibleNameorroleis specified, it returns all the accessibility nodes in the subtree. - Query
AxTree Returns - What
Accessibility.queryAXTreeanswers with.
Enums§
- AxProperty
Name - Values of AXProperty name: - from ‘busy’ to ‘roledescription’: states which apply to every AX node - from ‘live’ to ‘root’: attributes which apply to nodes in live regions - from ‘autocomplete’ to ‘valuetext’: attributes which apply to widgets - from ‘checked’ to ‘selected’: states which apply to widgets - from ‘activedescendant’ to ‘owns’: relationships between elements other than parent/child/sibling - from ‘activeFullscreenElement’ to ‘uninteresting’: reasons why this noode is hidden
- AxValue
Native Source Type - Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
- AxValue
Source Type - Enum of possible property sources.
- AxValue
Type - Enum of possible property types.
Type Aliases§
- AxNode
Id - Unique accessibility node identifier.