{ "domains": [ { "commands": [ { "returns": [ { "items": { "$ref": "AXNode" }, "type": "array", "name": "nodes", "description": "The `Accessibility.AXNode` for this DOM node, if it exists, plus its ancestors, siblings and\nchildren, if requested." } ], "parameters": [ { "$ref": "DOM.NodeId", "optional": true, "name": "nodeId", "description": "Identifier of the node to get the partial accessibility tree for." }, { "$ref": "DOM.BackendNodeId", "optional": true, "name": "backendNodeId", "description": "Identifier of the backend node to get the partial accessibility tree for." }, { "$ref": "Runtime.RemoteObjectId", "optional": true, "name": "objectId", "description": "JavaScript object id of the node wrapper to get the partial accessibility tree for." }, { "type": "boolean", "optional": true, "name": "fetchRelatives", "description": "Whether to fetch this nodes ancestors, siblings and children. Defaults to true." } ], "name": "getPartialAXTree", "experimental": true, "description": "Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists." } ], "domain": "Accessibility", "dependencies": [ "DOM" ], "types": [ { "type": "string", "id": "AXNodeId", "description": "Unique accessibility node identifier." }, { "enum": [ "boolean", "tristate", "booleanOrUndefined", "idref", "idrefList", "integer", "node", "nodeList", "number", "string", "computedString", "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined" ], "type": "string", "id": "AXValueType", "description": "Enum of possible property types." }, { "enum": [ "attribute", "implicit", "style", "contents", "placeholder", "relatedElement" ], "type": "string", "id": "AXValueSourceType", "description": "Enum of possible property sources." }, { "enum": [ "figcaption", "label", "labelfor", "labelwrapped", "legend", "tablecaption", "title", "other" ], "type": "string", "id": "AXValueNativeSourceType", "description": "Enum of possible native property sources (as a subtype of a particular AXValueSourceType)." }, { "properties": [ { "$ref": "AXValueSourceType", "name": "type", "description": "What type of source this is." }, { "$ref": "AXValue", "optional": true, "name": "value", "description": "The value of this property source." }, { "type": "string", "optional": true, "name": "attribute", "description": "The name of the relevant attribute, if any." }, { "$ref": "AXValue", "optional": true, "name": "attributeValue", "description": "The value of the relevant attribute, if any." }, { "type": "boolean", "optional": true, "name": "superseded", "description": "Whether this source is superseded by a higher priority source." }, { "$ref": "AXValueNativeSourceType", "optional": true, "name": "nativeSource", "description": "The native markup source for this value, e.g. a