Skip to content

Contrast-error on list with more than one level #3400

@kjetilhansen0

Description

@kjetilhansen0

List with more than one level generates error: "Text elements must have sufficient color contrast."

How to reproduce:
List with two levels or more. No CSS needed.

<ul>
  <li>Lorem
    <ul>
      <li>Ipsum</li>
    </ul>
  </li>
</ul>

Plugin says: "Element's background color could not be determined because it is overlapped by another element."
Tested with Axe-core and browser plugin. Chrome on MacOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    color contrastColor contrast issuesprA pr has been created for the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions