menu
AccessibilityNode
import { AccessibilityNode } from "destack:accessibility/binding";
Accessibility node descriptor.
1export struct AccessibilityNode {2 id: AccessibilityNodeId;3 role: AccessibilityRole;4 childIds: [AccessibilityNodeId];5 bounds: AccessibilityNodeBounds;6 name: string;7 description: string;8 help: string;9 value: string;10 roleDescription: string;11 brailleLabel: string;12 brailleRoleDescription: string;13 keyShortcuts: string;14 languageTag: string;15 url: string;16 state: AccessibilityNodeState;17 actions: AccessibilityNodeActionFlags;18 relations: AccessibilityNodeRelations;19 customActions: [AccessibilityCustomAction];20}Members
id: AccessibilityNodeIdStable node identifier.
role: AccessibilityRoleSemantic role.
childIds: [AccessibilityNodeId]Child order for this node.
bounds: AccessibilityNodeBoundsBounds in logical window coordinates.
name: stringAccessible name.
description: stringAccessible description.
help: stringUser-visible help or tooltip text.
value: stringAccessible value for nontext current values.
roleDescription: stringaria-roledescription.brailleLabel: stringaria-braillelabel.brailleRoleDescription: stringaria-brailleroledescription.keyShortcuts: stringaria-keyshortcuts.languageTag: stringBCP 47 language tag for this node's content.
url: stringCanonical URL for link and document nodes.
state: AccessibilityNodeStateShared node state.
actions: AccessibilityNodeActionFlagsStandard actions exposed by this node.
relations: AccessibilityNodeRelationsARIA relation state.
customActions: [AccessibilityCustomAction]Custom actions exposed by this node.