public interface Accessibility
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disables the accessibility domain.
|
void |
enable()
Enables the accessibility domain which causes
AXNodeId s to remain consistent between method calls. |
List<AXNode> |
getFullAXTree()
Fetches the entire accessibility tree
|
List<AXNode> |
getPartialAXTree()
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
List<AXNode> |
getPartialAXTree(Integer nodeId,
Integer backendNodeId,
String objectId,
Boolean fetchRelatives)
Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
void disable()
void enable()
AXNodeId
s to remain consistent between method calls.
This turns on accessibility for the page, which can impact performance until accessibility is disabled.List<AXNode> getPartialAXTree(Integer nodeId, Integer backendNodeId, String objectId, Boolean fetchRelatives)
nodeId
- Identifier of the node to get the partial accessibility tree for.backendNodeId
- Identifier of the backend node to get the partial accessibility tree for.objectId
- JavaScript object id of the node wrapper to get the partial accessibility tree for.fetchRelatives
- Whether to fetch this nodes ancestors, siblings and children. Defaults to true.Accessibility.AXNode
for this DOM node, if it exists, plus its ancestors, siblings and
children, if requested.Copyright © 2017, 2019–2019 WebFolder OÜ. All rights reserved.