4.6 KiB
sidebar_label |
---|
SerializedAXNode |
SerializedAXNode interface
Represents a Node and the properties of it that are relevant to Accessibility.
Signature:
export interface SerializedAXNode
Properties
Property |
Modifiers |
Type |
Description |
Default |
---|---|---|---|---|
autocomplete |
|
string | ||
checked |
|
boolean | 'mixed' |
Whether the checkbox is checked, or in a mixed state. | |
children |
|
Children of this node, if there are any. | ||
description |
|
string |
An additional human readable description of the node. | |
disabled |
|
boolean | ||
expanded |
|
boolean | ||
focused |
|
boolean | ||
haspopup |
|
string | ||
invalid |
|
string |
Whether and in what way this node's value is invalid. | |
keyshortcuts |
|
string |
Any keyboard shortcuts associated with this node. | |
level |
|
number |
The level of a heading. | |
modal |
|
boolean | ||
multiline |
|
boolean | ||
multiselectable |
|
boolean |
Whether more than one child can be selected. | |
name |
|
string |
A human readable name for the node. | |
orientation |
|
string | ||
pressed |
|
boolean | 'mixed' |
Whether the node is checked or in a mixed state. | |
readonly |
|
boolean | ||
required |
|
boolean | ||
role |
string |
The role of the node. | ||
roledescription |
|
string |
A human readable alternative to the role. | |
selected |
|
boolean | ||
value |
|
string | number |
The current value of the node. | |
valuemax |
|
number | ||
valuemin |
|
number | ||
valuetext |
|
string |
A description of the current value. |
Methods
Method |
Description |
---|---|
Get an ElementHandle for this AXNode if available. If the underlying DOM element has been disposed, the method might return an error. |