Skip to content

Accessibility audit error on color contrast step #11721

@benNek

Description

@benNek

Axe tool is able to correctly find color contrast errors without errors

Provide the steps to reproduce

  1. Run LH accessibility audit on https://www.kayak.com/Cheap-New-York-Car-Rentals.15830.cars.ksp and it does not calculate overall score properly because of error happening

What is the current behavior?

Error happens on finding color contrast issues
image

What is the expected behavior?

Accessibility score is being calculated properly without the errors

Environment Information

  • Affected Channels: All of them (CLI, Node, DevTools)
  • Lighthouse version: 6.4.1
  • Chrome version: 87.0.4280.67 (happens on CLI and canary too)
  • Node.js version: v12.15.0
  • Operating System: macOS Catalina

Related issues
It only happens on mobile audit, desktop works fine. Tried to debug from webpage side and it happens on sidenav (document.querySelector('[class$=-nav-container]')) when there are too many icons/SVGs. Seems very cryptic, as removing random two of the icons seem to fix the problem.

Is it possible to find logs of those errors? I coulnd't find any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions