Skip to main content
cloudflare.getAccessibilityTree returns the semantic browser accessibility tree for a rendered page.
automations/cloudflare-accessibility-tree.automation.ts

Inputs

Provide accountId and exactly one of url or html. Set interestingOnly to limit the result to meaningful nodes or root to start at a CSS selector. cacheTtl defaults to 5 seconds. The common Browser Run timeout, request, authentication, page-setup, viewport, navigation, and wait controls are also available.

Output

Returns the recursive accessibility node, including roles, names, states, values, and children. Returns null when Cloudflare does not produce a root node. The action consumes Browser Run duration and is not replay-safe.