x xa11y v0.7.1
GitHub →

cross-platform
accessibility trees.

A unified API for accessibility trees across macOS, Windows, and Linux. Test desktop apps, power AI agents, or build assistive tools.

$ cargo add xa11y or $ pip install xa11y or $ npm install @crowecawcaw/xa11y
Slack — #general
Call
Pinned
Details
Sam
lgtm — merging
Elena
ship it
Message #general
Send

simple interface

Read the accessibility tree, find nodes, perform actions. Synthesise mouse and keyboard events, or capture screenshots of any element or region. A small, intuitive API that stays out of your way.

cross-platform

One API for macOS (AXUIElement), Windows (UI Automation), and Linux (AT-SPI2). Write once, query anywhere.

flexible selectors

Query accessibility trees with CSS-like syntax: button[name='Submit'], textfield[name^='Search'], group > button.

permissive licensing

MIT-licensed, with permissively licensed dependencies throughout. Use it freely in commercial and open-source projects alike.

use cases