dequelabs / dequelabs/axe-core

Support `slot` element as part of the virtual tree

Open
#4,507 0 comments 1 reaction 0 assignees View on GitHub
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

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.