Tree items have no accessible name
Automated check aria-treeitem-name, run with axe-core
- WCAG
- Best practice: a recommendation, not a WCAG success criterion
- Severity
- Moderate: a degraded experience
- Typical effort
- Quick win, under 1 hour
- Category
- Navigation
Who this affects
Screen reader users navigating tree views, such as category or folder navigation.
Why it matters
Unnamed tree items are announced without their label, which turns hierarchical navigation into guesswork.
How to fix it
Give each role="treeitem" element visible text or an aria-label.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.