lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Color Contrast Error: "Element midpoint exceeds the grid bounds"

Open FelipeFama opened this issue 2 years ago • 15 comments

FAQ

  • [X] Yes, my issue is not about variability or throttling.
  • [X] Yes, my issue is not about a specific accessibility audit (file with axe-core instead).

URL

https://nefa-crypto-page.vercel.app

What happened?

When I run Lighthouse to test my web page, my accessibility score does not appear in the browser, instead, an exclamation mark appears.

What did you expect?

That the score would appear, normally without any type of problem.

What have you tried?

1 - I tested on Opera and Chrome on Ubuntu and tested on Windows. 2 - In Windows, only Opera worked normally. 3 - I noticed that the ones that didn't work had this version Using Chromium 119.0.0.0 with devtools. 4 - Opera on Windows has a version earlier than this. 5 - I tested the lighthouse extension and it worked normally too, but it has this version Using HeadlessChromium 119.0.6045.105 with lr.

image-lighthouse-error

image-lighthouse-error-2

How were you running Lighthouse?

Chrome DevTools, WebPageTest

Lighthouse Version

11.0.0

Chrome Version

119.0.6045.159

Node Version

18.16.0

OS

Windows/Linux

Relevant log output

No response

FelipeFama avatar Nov 17 '23 02:11 FelipeFama

I can't repro, it's possible that some Chrome extension is adding content that causes this error. Can you try running Lighthouse from an incognito window in Chrome?

adamraine avatar Nov 17 '23 19:11 adamraine

I tested it but it didn't work.

FelipeFama avatar Nov 20 '23 23:11 FelipeFama

Sorry, missed that you mentioned this was only for desktop. I can repro with this command lighthouse https://nefa-crypto-page.vercel.app/ --preset=desktop. Most likely an issue in Axe, I will investigate.

adamraine avatar Nov 20 '23 23:11 adamraine

https://github.com/dequelabs/axe-core/issues/4253

adamraine avatar Nov 21 '23 00:11 adamraine

@FelipeFama this is no longer reproducible for me. Has the content on the page changed at all? Are you still able to reproduce this?

adamraine avatar Nov 21 '23 20:11 adamraine

Yes @adamraine , I can still believe it is something related to axe-core or some version of chromium.

FelipeFama avatar Nov 23 '23 01:11 FelipeFama

@adamraine I am still not able to understand how to resolve this. It will be relally helpful if you can explain.

clouddevloper avatar Jan 12 '24 05:01 clouddevloper

The issue has not been resolved, please see the upstream bug https://github.com/dequelabs/axe-core/issues/4253 for more info.

adamraine avatar Jan 12 '24 05:01 adamraine

We have the same issue, just on mobile. I added a comment in https://github.com/dequelabs/axe-core/issues/4253

chmerk avatar Jan 23 '24 09:01 chmerk

@adamraine - I am observing the similar issue "axe-core Error: Element midpoint exceeds the grid bounds" for "Mobile" on https://www.ust.com/en/insights . Tried on incognito window but seeing the same error. Appreciate any inputs

image

image

Chrome : image

kmurugulla avatar Feb 05 '24 16:02 kmurugulla

Still not able to resolve this issue yet. https://github.com/GoogleChrome/lighthouse/issues/15750

Let me know if any one can help here.

Thanks

clouddevloper avatar Feb 06 '24 05:02 clouddevloper

@clouddevloper @kmurugulla Please add this to the issue https://github.com/dequelabs/axe-core/issues/4253 So the axe developers can prioritize the issue accordingly. :)

chmerk avatar Feb 06 '24 09:02 chmerk

I have the same issue

aprzygocki avatar Feb 09 '24 01:02 aprzygocki

I can report the same issue

neronim1141 avatar Feb 11 '24 00:02 neronim1141

I have the same issue, any suggestions?

dylanrihan avatar Feb 12 '24 04:02 dylanrihan

I'm having this same issue on Swiper component

https://github.com/TutorFx/vs-contabil https://www.vscontabil.net/

TutorFx avatar Feb 19 '24 21:02 TutorFx

@aprzygocki @neronim1141 @dylanrihan @TutorFx Could you please also report the issue at https://github.com/dequelabs/axe-core/issues/4253 to make them aware, that there are more people/sites affected. So far there seems to be little activity :( Thanks! :)

chmerk avatar Feb 20 '24 14:02 chmerk

@aprzygocki @neronim1141 @dylanrihan @TutorFx Could you please also report the issue at dequelabs/axe-core#4253 to make them aware, that there are more people/sites affected. So far there seems to be little activity :( Thanks! :)

Thanks for moving the thread @chmerk, I was able to uncover the root cause of the issue and described a workaround in the discussion there.

TutorFx avatar Feb 20 '24 20:02 TutorFx

Resolved by https://github.com/GoogleChrome/lighthouse/pull/15887, this will ship in the next Lighthouse release.

adamraine avatar Mar 27 '24 16:03 adamraine