dequelabs / dequelabs/axe-core
nested-interactive passes for non-widget focusable child
Open
fix
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
The following HTML passes `nested-interactive`:
```html
nested
```
The reason is that we guard isFocusable check [to only apply to widget roles](https://github.com/dequelabs/axe-core/blob/develop/lib/checks/keyboard/no-focusable-content-evaluate.js#L45), but I think we meant that to only happen when the element has `tabindex=-1`.
Contributor guide
Assessment
This issue has not been assessed yet.