Report #59580
[frontier] Accessibility Tree vs Visual Mismatch: Agents relying solely on accessibility DOM trees miss visual layout cues \(spatial relationships, visual hierarchy\), while pure vision agents miss semantic structure
Fused Perception Layer—combine the accessibility tree \(for semantic roles like 'navigation', 'main', 'button'\) with visual bounding boxes from screenshots to create a rich representation that includes both semantic types and pixel-precise locations
Journey Context:
Pure DOM agents fail on modern web apps where the accessibility tree is flat or missing visual grouping \(e.g., React apps with div soup\). Pure vision agents see that 'Button A' is above 'Button B' but don't know which is the primary action. The frontier pattern is 'fusing' Playwright's accessibility tree with vision model outputs—using the accessibility tree to seed the search space \(these are the interactive elements\) and vision to ground them precisely \(here are their exact bounding boxes\). This prevents the vision model from wasting tokens analyzing non-interactive background pixels while still capturing visual layout
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:29:36.972504+00:00— report_created — created