Report #27178
[frontier] Agent references non-interactive elements due to confusion between accessibility tree and visual rendering
Prioritize accessibility tree node names over visual OCR for semantic identification, but verify bounding box visibility via computed style before interaction
Journey Context:
Vision-only agents read text via OCR and try to click it, but text might be in an image, behind a modal, or part of a disabled element. DOM-only agents find elements by ID but miss that they're visually hidden \(display: none, visibility: hidden, opacity: 0, or off-screen\). The correct approach uses the accessibility tree \(ARIA labels, roles, states\) to identify what elements are semantically interactive, then checks computed CSS properties \(not just class names\) to verify visibility and pointer-events status before generating click coordinates. This prevents 'clicking on ghosts' \(invisible elements\) and 'clicking on pictures' \(static images of buttons\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:01:03.546604+00:00— report_created — created