dequelabs / dequelabs/axe-core
axe.utils.querSelectorAll() fails to ID query a slotted light dom node
Open
core
fix
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
The following shouldn't return an empty array:
```html
Light content
const root = axe.setup()
axe.utils.querySelectorAll('#target') // Should not be empty
```
I don't think this can impact how axe-core runs, as we never user ID queries in rules. But its a bit of an annoyance when writing tests.
Contributor guide
Assessment
This issue has not been assessed yet.