Report #55694
[frontier] Agent fails on canvas/WebGL content when using pure DOM parsing or misses semantic structure when using pure screenshots
Fuse accessibility tree nodes with screenshot patches: extract bounding boxes from a11y tree, crop screenshot regions for those nodes, and feed both the structured metadata and visual crops to the VLM
Journey Context:
Pure DOM agents fail on anything not in the HTML \(canvas, PDFs, images within buttons\). Pure screenshot agents hallucinate or miss semantic relationships \(which label belongs to which input?\). The fusion approach uses the a11y tree as 'attention guides' to crop relevant image patches, reducing noise and grounding the semantics. The cost is increased complexity in the observation encoder and need for browser instrumentation \(CDP or Playwright accessibility APIs\). This differs from simple OCR which loses hierarchy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:58:31.789589+00:00— report_created — created