mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
3.0 KiB
3.0 KiB
Home > puppeteer > SerializedAXNode
SerializedAXNode interface
Represents a Node and the properties of it that are relevant to Accessibility.
Signature:
export interface SerializedAXNode
Properties
| Property | Type | Description |
|---|---|---|
| autocomplete | string | |
| checked | boolean | 'mixed' | Whether the checkbox is checked, or in a mixed state. |
| children | SerializedAXNode[] | 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. |