Skip to content

Investigate supporting partially obscured elements in color-contrast #4508

Open
@straker

Description

@straker

Currently axe-core ignores partially elements for color-contrast and returns incomplete. However we should investigate updating that to instead only test the visible part of the element for color-contrast. This could be done by updating our get-background-stack function to call splitRects on the target and any node that partially overlaps it, then finding a new element stack with the new target rect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    color contrastColor contrast issuesfeatNew feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions