Skip to content

Incomplete checks for color contrast on text with webkit-line-clamp #3698

Open
@loicplaire

Description

@loicplaire

Product

axe-core

Product Version

4.4.2

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

No colour contrast violations should be reported when using webkit-line-clamp and inner span(s).

Actual

A colour contrast incomplete check is reported when using a combination of webkit-line-clamp and inner span.

How to Reproduce

The issue is exactly the same as #2669 except that this time it happens with the webkit-line-clamp CSS property instead of text-overflow: ellipsis.

You can reproduce the issue at: https://output.jsbin.com/savapuvoti.

Screenshot of the Axe dev tools with the violation displayed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions