puppeteer/new-docs/puppeteer.serializedaxnode.md
Jack Franklin 0b3d52a70e
feat(new-docs): add TSDoc comments to Accessibility (#5971)
* feat(new-docs): add tsdoc to `Accessibility`
2020-06-05 15:20:11 +01:00

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.