LLMs such as Claude Code and Codex interact with computer interfaces by processing both visual screenshots and textual accessibility trees. An accessibility tree provides a text description of every on-screen button and element, allowing the model to click by position or by naming an element. This method is similar to how accessibility tools for visually impaired users have functioned for decades, with Microsoft, Sun, and Apple developing respective APIs since the late 1990s and early 2000s.
The inclusion of accessibility trees significantly improves LLM performance on UI tasks. On the 2024 OSWorld benchmark, models relying solely on screenshots completed approximately 5% of tasks, whereas models utilizing text-based screen descriptions performed better. This indicates that the textual context provided by accessibility trees is crucial for LLMs to understand and interact with graphical user interfaces effectively.
Despite the benefits of accessibility trees, LLMs encounter difficulties with precise actions, such as accurately clicking a button. Models must output exact coordinates (e.g., 'x=523, y=217'), and even minor inaccuracies can lead to incorrect clicks. This problem is compounded by varying screen and window resolutions, which alter element coordinates, and by the models' internal image processing, which shrinks and segments screenshots, making pixel-perfect targeting difficult. Benchmarks like ScreenSpot-Pro (2025) show that even the best models achieve low accuracy (18.9%) on tasks requiring small, precise targets.
The 2024 OSWorld benchmark highlighted a significant gap between human and LLM performance. Human testers completed 72% of tasks, while the best models achieved only about 12%. Models struggled with translating high-level commands like 'click Save' into specific screen coordinates and understanding how to operate software effectively. This indicates that while accessibility trees provide valuable context, the models still lack the robust understanding and precision required for complex UI interactions.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Large Language Models (LLMs) like Claude Code and Codex use both screenshots and accessibility trees to interact with computers, with text-based accessibility data significantly improving task completion over screenshot-only methods. However, LLMs still face challenges with precise actions like clicking buttons due to coordinate sensitivity, resolution changes, and the models' internal image processing limitations.