Accessibility API
An Accessibility API is a set of software connections that lets assistive technologies, such as screen readers, understand and interact with the content on a screen. It acts as a bridge between an application or web page and the tools people with disabilities use to navigate and operate their devices. Operating systems and platforms like Apple's and Google's Android provide their own accessibility APIs for developers to support.
An Accessibility API is a platform-provided programming interface through which user agents and applications expose the roles, states, properties, and relationships of user interface elements to assistive technologies. Per the W3C Core Accessibility API Mappings (Core-AAM), WAI-ARIA roles, states, and properties are expected to be mapped by user agents onto the accessibility API of the underlying platform, enabling assistive technologies to programmatically determine and interact with interface elements. Platform implementations vary; for example, Apple provides an Accessibility framework API, and Google's Android exposes an AccessibilityService API, each with its own capabilities, constraints, and usage policies (for instance, Google restricts certain autonomous uses of its Accessibility API).
Why it matters
Accessibility APIs are the foundation that makes assistive technology possible on modern platforms. Without a programmatic interface exposing the roles, states, properties, and relationships of interface elements, a screen reader or other assistive tool would have no reliable way to determine what is on the screen or how a user can interact with it. When an application communicates properly through the platform's accessibility API, tools like screen readers can announce buttons, form fields, and content in a meaningful order; when it does not, those same elements may be invisible or unusable to people who rely on assistive technology.
For developers and organizations working toward WCAG conformance, the accessibility API is where much of the underlying mapping happens. The W3C Core Accessibility API Mappings (Core-AAM) describes how WAI-ARIA roles, states, and properties are expected to be exposed by user agents onto the platform's accessibility API. This is why correct use of semantic markup and ARIA matters: it determines what assistive technologies can actually perceive. It is worth noting, however, that conformance with technical guidelines and correct API exposure does not by itself guarantee a fully usable experience or immunity from legal claims; manual testing with actual assistive technologies remains necessary.
Platform differences also carry practical and policy consequences. Implementations vary across operating systems, and platforms may restrict how their accessibility APIs are used. For example, Google's policy states that any use of the Accessibility API enabling an app to autonomously initiate, plan, and execute actions or decisions is strictly prohibited. Developers must therefore account not only for technical capability but also for each platform's usage policies, which can limit how these interfaces are employed.
Who it's relevant to
Inside Accessibility API
Common questions
Answers to the questions practitioners most commonly ask about Accessibility API.