Accessibility Tree
The accessibility tree is a structured representation of a web page that browsers create automatically to describe the page's content to assistive technologies such as screen readers. It focuses on the meaning and function of page elements rather than how they look visually. Assistive technologies rely on this information to convey what is on the page to users.
The accessibility tree is an API layer generated by the browser (user agent) from the Document Object Model (DOM), typically representing a subset of the DOM tree. During its creation, the browser parses roles, states, properties, and accessible names and descriptions of elements, exposing this semantic information to assistive technologies through platform accessibility APIs. It generally contains no visual styling information; instead, it communicates the structure, roles, and interactive states of user interface objects. Because the accessibility tree reflects what is exposed to assistive technology, it is commonly inspected via browser developer tools to debug and verify how content will be presented to screen readers and other assistive technologies.
Why it matters
The accessibility tree is the bridge between a web page and the assistive technologies people depend on to perceive and operate digital content. Because screen readers and other assistive technologies rely on this structured, semantic representation rather than the visual layout, the quality of the accessibility tree directly determines whether a user can understand what an element is, what state it is in, and how to interact with it. When markup uses proper semantic elements and correct roles, states, and accessible names, the tree conveys accurate meaning; when it does not, users of assistive technology may encounter controls that are unlabeled, mislabeled, or entirely missing.
Many common accessibility failures can be traced to how content is exposed to the accessibility tree. A button implemented with a non-semantic element, an image without an accessible name, or an interactive widget with incorrect roles may look correct on screen but be conveyed poorly or not at all through the accessibility tree. Understanding this layer helps teams recognize why visual inspection alone is insufficient and why passing automated checks does not guarantee that content is genuinely usable with a screen reader. Manual testing and testing with actual assistive technologies remain necessary to confirm that the intended meaning reaches users.
Because the accessibility tree reflects precisely what is exposed to assistive technology, it is a practical focal point for debugging accessibility issues. Inspecting it can reveal discrepancies between what developers intend and what users actually receive. This makes it a valuable diagnostic tool for engineers and quality teams, though it is a technical concept rather than a compliance standard in itself, and it does not replace evaluation against recognized guidelines or, where relevant, legal review.
Who it's relevant to
Inside Accessibility Tree
Common questions
Answers to the questions practitioners most commonly ask about Accessibility Tree.