Product: axe-core and axe Extension
Fiddle for reproducing this: https://jsfiddle.net/Loe7pacx/
Expectation: Limit contrast checking of content that is cut off by overflow:hidden only to the visible part. No issue is reported by axe as this is black text on a white background. The black background of the outer element (body) should not matter.
Actual: Axe reports an issue on the span element. Contrast is checked as if the content visibly extended into an area with a different background colour.
Motivation: This was not reported in previous versions and visually there is no contrast issue for the user.
axe-core version: 4.4.1
extension version: 4.25.3
Browser and Assistive Technology versions
Chrome 100
For Tooling issues:
- Platform: Windows
Product: axe-core and axe Extension
Fiddle for reproducing this: https://jsfiddle.net/Loe7pacx/
Expectation: Limit contrast checking of content that is cut off by overflow:hidden only to the visible part. No issue is reported by axe as this is black text on a white background. The black background of the outer element (body) should not matter.
Actual: Axe reports an issue on the span element. Contrast is checked as if the content visibly extended into an area with a different background colour.
Motivation: This was not reported in previous versions and visually there is no contrast issue for the user.