w3c / largest-contentful-paint

Specification for the LargestContentfulPaint API
https://w3c.github.io/largest-contentful-paint/
Other
88 stars 16 forks source link

Hover-based user input is often used for "zoom widgets", skewing LCP results #108

Open yoavweiss opened 1 year ago

yoavweiss commented 1 year ago

Many e-commerce sites use hover based zoom widgets (searching for "hover zoom widget" in your favorite search engine will reveal many results).

The desktop LCP scores for such sites can be heavily influenced by this use of zoom widgets, as hover is not a user interaction that stops LCP from being counted. As such, the site loads, users hover over the product image, and a larger image is then loaded, counting as an LCP candidate.

It'd be great to modify LCP to take that into account:

I'm planning to experiment with such heuristics.

yoavweiss commented 1 year ago

A pending CL would enable experimentation with that heuristic with the --enable-features=LCPMouseoverHeuristics Chrome CLI flag.

ksylor commented 1 year ago

There's also a possibility of loading and/or autoplaying a video on hover.

We're currently running this as an experiment on our search results page - the placement of the current implementation is not one that would be the LCP element, but as an example of the behavior since I've seen autoplay video on hover grow as a pattern on other ecommerce sites.

To see the implementation go to https://www.etsy.com/search?q=Kantha+quilt&features=ranking%2Fsearch.experience.search_lc_video_rerun%3Aon and scroll down to the third row of results

tunetheweb commented 1 year ago

So looking at the Amazon example there two types. Take for example this page

siakaramalegos commented 1 year ago

Dropping some example links in case they are helpful:

rockeynebhwani commented 1 year ago

@siakaramalegos - Here is example for zoom on hover on desktop - https://direct.asda.com/george/women/nightwear-slippers/grey-spot-print-pyjama-bottoms/GEM971664,default,pd.html. In this example zoom image becomes LCP on hover.

gilbertococchi commented 1 year ago

I cannot reproduce the LCP new entry issues on direct.asda.com nor on homedepot.com. For what it concerns amazon.com we've already verified that the change behind the flag would fix that case.

Thanks!

pablomercadolibre commented 1 year ago

I'd like to share another example of thumbnails that trigger LCP https://www.mercadolibre.com.uy/apple-iphone-12-64-gb-productred/p/MLU16163651, in our case hover in the thumbnail replaces the main image which trigger a new LCP image and hovering the replaced main image also trigger a new LCP.

Santas commented 6 months ago

https://finviz.com - hovering over tickers which show a chart preview triggers LCP

yoavweiss commented 6 months ago

^^ @clelland - any updates on efforts on that front?

Coiven commented 5 months ago

--enable-features=LCPMouseoverHeuristics flag doesn't work for me, is it expired?