Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation FileSystem HeapProfiler IndexedDB Input Inspector LayerTree Memory Network Page Power Profiler Rendering Runtime ScreenOrientation Security ServiceWorker Timeline Tracing Worker
Chrome Debugger Protocol Viewer

Accessibility Domain

Methods

getAXNode

Fetches the accessibility node for this DOM node, if it exists.

Parameters
nodeId
DOM.NodeId ID of node to get accessibility node for.
Return object
accessibilityNode
AXNode The Accessibility.AXNode for this DOM node, if it exists.

Types

AXNodeId

Unique accessibility node identifier.

Type: string

AXValueType

Enum of possible property types.

Type: string

Allowed values

boolean, tristate, booleanOrUndefined, idref, idrefList, integer, number, string, token, tokenList, domRelation, role, internalRole.

AXPropertySourceType

Enum of possible property sources.

Type: string

Allowed values

attribute, implicit, style.

AXPropertySource

A single source for a computed AX property.

Type: object

Properties
name
string The name/label of this source.
sourceType
AXPropertySourceType What type of source this is.
value
any The value of this property source.
type
AXValueType What type the value should be interpreted as.
invalid
boolean Whether the value for this property is invalid.
invalidReason
string Reason for the value being invalid, if it is.

AXRelatedNode

Type: object

Properties
idref
string The IDRef value provided, if any.
backendNodeId
DOM.BackendNodeId The BackendNodeId of the related node.

AXProperty

Type: object

Properties
name
string The name of this property.
value
AXValue The value of this property.

AXValue

A single computed AX property.

Type: object

Properties
type
AXValueType The type of this value.
value
any The computed value of this property.
relatedNodeValue
AXRelatedNode The related node value, if any.
relatedNodeArrayValue
array [ AXRelatedNode ] Multiple relted nodes, if applicable.
sources
array [ AXPropertySource ] The sources which contributed to the computation of this property.

AXGlobalStates

States which apply to every AX node.

Type: string

Allowed values

disabled, hidden, hiddenRoot, invalid.

AXLiveRegionAttributes

Attributes which apply to nodes in live regions.

Type: string

Allowed values

live, atomic, relevant, busy, root.

AXWidgetAttributes

Type: string

Allowed values

autocomplete, haspopup, level, multiselectable, orientation, multiline, readonly, required, valuemin, valuemax, valuetext.

AXWidgetStates

States which apply to widgets.

Type: string

Allowed values

checked, expanded, pressed, selected.

AXRelationshipAttributes

Relationships between elements other than parent/child/sibling.

Type: string

Allowed values

activedescendant, flowto, controls, describedby, labelledby, owns.

AXNode

A node in the accessibility tree.

Type: object

Properties
nodeId
AXNodeId Unique identifier for this node.
ignored
boolean Whether this node is ignored for accessibility
ignoredReasons
array [ AXProperty ] Collection of reasons why this node is hidden.
role
AXValue This Node's role, whether explicit or implicit.
name
AXValue The accessible name for this Node.
description
AXValue The accessible description for this Node.
value
AXValue The value for this Node.
help
AXValue Help.
properties
array [ AXProperty ] All other properties