mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
34ff00e2fe
* fix: added parts of website * fix: removed unnecessary lines * fix: updated contributing.md * fix: added parts of sidebar * fix: added all APIs * fix: added version 10.0.0 Co-authored-by: Jack Franklin <jacktfranklin@chromium.org>
3.4 KiB
3.4 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 | (Optional) |
checked? | boolean | 'mixed' | (Optional) Whether the checkbox is checked, or in a mixed state. |
children? | SerializedAXNode[] | (Optional) Children of this node, if there are any. |
description? | string | (Optional) An additional human readable description of the node. |
disabled? | boolean | (Optional) |
expanded? | boolean | (Optional) |
focused? | boolean | (Optional) |
haspopup? | string | (Optional) |
invalid? | string | (Optional) Whether and in what way this node's value is invalid. |
keyshortcuts? | string | (Optional) Any keyboard shortcuts associated with this node. |
level? | number | (Optional) The level of a heading. |
modal? | boolean | (Optional) |
multiline? | boolean | (Optional) |
multiselectable? | boolean | (Optional) Whether more than one child can be selected. |
name? | string | (Optional) A human readable name for the node. |
orientation? | string | (Optional) |
pressed? | boolean | 'mixed' | (Optional) Whether the node is checked or in a mixed state. |
readonly? | boolean | (Optional) |
required? | boolean | (Optional) |
role | string | The role of the node. |
roledescription? | string | (Optional) A human readable alternative to the role. |
selected? | boolean | (Optional) |
value? | string | number | (Optional) The current value of the node. |
valuemax? | number | (Optional) |
valuemin? | number | (Optional) |
valuetext? | string | (Optional) A description of the current value. |