Site logo

Archived topic

woocommerce Quantity selector "Links are not crawlable" error

5 replies · Started by roadlink on March 3, 2022

Viewing posts 1–6 of 6

Hi there,

Google lighthouse tool gives error for "-" and "+" on product pages.
Is there any way to solve it?

https://prnt.sc/66gRfi5HeHBl

Hi there,

the only way to remove that warning is to disable the Quantity Buttons option in Customizer > Layout > Woocommerce.

Or just ignore it - the warning gets raised as some times a site uses Javascript to generate the URL the link will go to. This is not the case here as the <a> element is simply used to display a button that has no link.

Hi David,

I like the current design but also like to have no error :)

If there is no way, then I will go with your suggestion.

thanks

It cannot be changed at this time.
I personally would ignore the warning - if the button was meant to link you to a page that you wanted crawled then i would agree its an error. But in this case its not a crawlable link as its not meant to link anywhere :)

thx

You're welcome

This archived topic is closed to new replies.