♿Accessibility Tree
Also known as A11y Tree, Browser Accessibility Tree
The page as assistive tools see it. Each part has a role, a name and a state.
Think of it like
It is like a list of every room in a house, with its name and its use. A guide reads the list, not the walls.
Example
Jack opens his browser's DevTools on a menu. The tree shows "button, Menu, collapsed", so a screen reader will say just that.
Why it matters
It is what screen readers and voice control really use. Fixing a page for them means fixing what lands here.
Definition
Common mistake
Key takeaways
- 1Role, name, state. Three facts for every part.
- 2Built from code. Good HTML makes a good tree.
- 3Look at it. Browser DevTools can show it.