Reputation: 65
How do I query the Accessibility Tree of a website using Chrome developer tools? Is it possible to do it? I am trying to understand how the Accessibility Tree works and helps screen readers.
Upvotes: 4
Views: 2681
Reputation: 24825
>>
)I would warn you that understanding the accessibility tree will not provide much help in understanding accessibility itself, it can actually make it more confusing.
It basically mimics the structure of the DOM, with a few extra bits exposed and a lot of bits 'ignored' as generic elements a screen reader does not care about.
You will gain a far better understanding of accessibility by simply using a screen reader on a regular basis and experimenting, the accessibility tree is only useful for identifying strange behaviour (e.g. dynamic content not being exposed correctly to the screen reader) and even then it does not expose as much information as you may think.
Upvotes: 5