Accessibility · ARIA

ARIA treeitem without an accessible name

A tree on this page has an item with role="treeitem" but no text or label, so screen readers announce an unnamed item in the tree.

How this page is built

The tree below has two items. The first is named Documents. The second has only a folder symbol hidden with aria-hidden, so it has no name.

  • Documents

Why it matters

Tree views list items such as folders or categories. Each item needs a name so screen reader users can tell them apart while moving through the tree. An unnamed item is announced as a blank entry.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule aria-treeitem-name.

How to fix it

Give every tree item text content or an aria-label.

Back to all tests