dequelabs / dequelabs/axe-core

axe-core ignores elements outside body bounding box when body has `overflow: hidden`

Open
#3,996 1 comment 1 reaction 0 assignees View on GitHub
false negative fix
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 13h
Merged PRs (30d)
29

Description

### Product

axe-core

### Product Version

_No response_

### Latest Version

- [X] I have tested the issue with the latest version of the product

### Issue Description

#### Expectation
All elements in should get tested with tests relevant to them. If a button inside a modal had color contrast issues it should be reported.

#### Actual
It seems like elements that have position: fixed or position: absolute are not tested.

#### How to Reproduce
I made a simple [reproduction](https://github.com/marianntapfer/brick-ui/pull/5) in this test component library.

#### Additional context
I got then issue when using Storybook's addon-a11y and axe-playwright in Storybook testrunner.

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.