Accessibility is usually treated as a late audit: sprinkle ARIA attributes or semantics modifiers onto finished screens and hope nothing breaks on the next refactor. That fails screen reader users — and it also forces AI agents into brittle screenshot-clicking loops.
In Osprey Native, accessibilitymaxxing is built into the framework's data model (accessibility.td):
- Every control in a UI machine declares a typed
AccessRole(Pressable,Slidable,Popup,MenuItem,Unannounced) and a template label. Canvases::semanticsproduces the live accessibility tree on every frame. Hidden or disabled controls are omitted, so neither a person nor an AI agent can invoke an illegal action.@osprey/uitestdrives the app's realstartanddispatchexports headlessly with zero window or simulator:tap "Play"fires a real pointer press and release at the control's bounds, andletters "00:50"verifies the actual text drawn on screen.- On the GPUI host, every entry maps to AccessKit (NSAccessibility on macOS, UI Automation on Windows, AT-SPI on Linux).
Mapping the same tree across WinUI, SwiftUI, and VS Code hosts, emitting it from direct view code, and exposing an external MCP server over semantics and act remain active delivery work.