Accessibility Tree

Accessibility Tree image
The accessibility tree is a behind-the-scenes structure that helps assistive technologies like screen readers understand what is on a web page. It is created by the browser and is based on the information in the DOM along with roles, names, states, and other properties added through HTML and ARIA.

While the DOM shows everything that exists on a page, the accessibility tree only includes the parts that are meaningful for users who rely on assistive tools. For example, decorative icons or hidden elements might be skipped in this tree.
This tree acts as a filtered and simplified version of the user interface. It helps people with disabilities understand and interact with content by providing an accessible version of what is visually shown.

Testers can inspect the accessibility tree using browser tools to check whether buttons, links, labels, and other elements are properly exposed for assistive technologies. This helps ensure that the product is usable for everyone, including those with visual or motor challenges.
Reduce flakiness. Try Squish for free. image
Enhance test coverage, and streamline automation. Take a tour!
Explore MoT
Xray AI in action: Test Case & Model Generation for modern QA teams image
Wed, 17 Sep
with Ivan Fillipov, Solution Architect at Xray
MoT Software Testing Essentials Certificate image
Boost your career in software testing with the MoT Software Testing Essentials Certificate. Learn essential skills, from basic testing techniques to advanced risk analysis, crafted by industry experts.
Leading with Quality
A one-day educational experience to help business lead with expanding quality engineering and testing practices.
This Week in Testing image
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter
We'll keep you up to date on all the testing trends.