dequelabs / dequelabs/axe-core

Flag tabindex=-1 in aria-hidden for review unless there is a modal open

Open
#3,486 0 comments 0 reactions 0 assignees View on GitHub
ACT Rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

From [Element with aria-hidden has no focusable content](https://wai-wcag-act-rules.netlify.app/standards-guidelines/act/rules/6cfa84/proposed/#failed-example-5)

```html


Some button

```

I'm reluctant to outright fail these, but there are cases where this can be a problem, so I think axe-core should call these out as incomplete, unless there is a modal open on the page.

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.