dequelabs / dequelabs/axe-core
Support `slot` element as part of the virtual tree
Open
feat
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
Currently axe-core ignores `slot` elements and does not add them to the virtual tree. However we've come to understand that `slot` elements can use CSS [to become a visible element](https://github.com/dequelabs/axe-core/issues/4468) (by changing the `display` property) and can even be given a background color, can have be used as [the target of an IDREF ARIA attribute](https://github.com/dequelabs/axe-core/issues/4335), and should probably alert users of [incorrect use of ARIA attributes and role](https://www.w3.org/TR/html-aria/#el-slot).
Contributor guide
Assessment
This issue has not been assessed yet.