Skip to main content
Module

x/puppeteer/mod.ts>SerializedAXNode

A port of puppeteer running on Deno
Latest
interface SerializedAXNode
import { type SerializedAXNode } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Represents a Node and the properties of it that are relevant to Accessibility.

Properties

role: string

The role of the node.

optional
name: string

A human readable name for the node.

optional
value: string | number

The current value of the node.

optional
description: string

An additional human readable description of the node.

optional
keyshortcuts: string

Any keyboard shortcuts associated with this node.

optional
roledescription: string

A human readable alternative to the role.

optional
valuetext: string

A description of the current value.

optional
disabled: boolean
optional
expanded: boolean
optional
focused: boolean
optional
modal: boolean
optional
multiline: boolean
optional
multiselectable: boolean

Whether more than one child can be selected.

optional
readonly: boolean
optional
required: boolean
optional
selected: boolean
optional
checked: boolean | "mixed"

Whether the checkbox is checked, or in a mixed state.

optional
pressed: boolean | "mixed"

Whether the node is checked or in a mixed state.

optional
level: number

The level of a heading.

optional
valuemin: number
optional
valuemax: number
optional
autocomplete: string
optional
haspopup: string
optional
invalid: string

Whether and in what way this node's value is invalid.

optional
orientation: string
optional
children: SerializedAXNode[]

Children of this node, if there are any.