dequelabs / dequelabs/axe-core

nested-interactive passes for non-widget focusable child

Open
#3,391 0 comments 0 reactions 0 assignees View on GitHub
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

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.