Skip to content

Space in text is causing failure in color-contrast test #4555

Open
@ivoderuever

Description

@ivoderuever

Product

axe-core

Product Version

4.9.0

Latest Version

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

Issue Description

Expectation

I expect te return of the failing elements.

Actual

It throws the following error: Error: Cannot read properties of undefined (reading 'getCellFromPoint')

How to Reproduce

By running the mobile lighthouse on https://www.custtom.com/ you'll see the same error come up under accessibility.

Additional context

It only returns an error when in the mobile menu you press a sub menu (products for example) and then if those li elements contain words with spaces it returns the error in lighthouse. If I put a single word there it will return as expected.
Additionally I did not see this error with the axe extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions