dequelabs / dequelabs/axe-core

Consider making aria-treeitem-name a WCAG rule

Open
#2,778 2 comments 0 reactions 0 assignees View on GitHub
feat rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

Currently elements with role=treeitem, without an accessible name are failed as a best practice, instead of a WCAG rule. The reason for that was to account for static treeitems. It is hard to argue that those are failures of WCAG.

Another way we could have done that, which is more involved, but I think I would prefer is to make it a WCAG rule, and flag static treeitems for review, so that:

```html

hello



```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.