Report #28988
[frontier] Agents relying solely on accessibility trees miss visual layout cues \(color-coded status, icons without labels\), while pure pixel agents miss semantic structure
Fuse accessibility tree nodes with screenshot regions: extract bounding boxes from a11y tree, crop screenshot to those regions, feed both the structured node data \(role, name, state\) and the visual crop to the VLM for joint reasoning
Journey Context:
Accessibility trees \(AXTree\) provide semantic role and state but lack spatial precision and visual styling; screenshots provide appearance but lack semantic meaning \(e.g., distinguishing a decorative icon from a clickable button\). Early DOM-based agents failed on visual tasks; early computer-use agents failed on semantic interpretation. The naive fusion concatenates full screenshot with full a11y tree \(XML\), exceeding context limits. The correct approach uses the a11y tree as a spatial index: each node has \(x,y,width,height\), allowing screenshot cropping to relevant regions. This preserves token budget while maintaining cross-modal grounding. Tradeoff: a11y tree extraction requires OS-level privileges \(Mac AX API, Windows UI Automation\) or browser CDP \(Chrome DevTools Protocol\), limiting deployment targets. Alternative considered: OCR\+icon detection pipelines, but these miss spatial relationships. Boundary boxes preserve layout while minimizing token burn.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:02:52.113824+00:00— report_created — created