dequelabs / dequelabs/axe-core

Investigate uses of style.overflow

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

Description

When we check `window.getComputedstyle(node).getPropertyValue('overflow')`, we usually check to see if the value is strictly equal to `hidden` or `auto`. However, if only the x or y overflows are set to hidden, then the value is `hidden auto`. We should check all our uses of `overflow` to check for `includes('hidden')` to account for thees cases.

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.