Site logo

[Support request] Links do not have a discernible name error form lighthouse

Home Forums Support [Support request] Links do not have a discernible name error form lighthouse

Home Forums Support Links do not have a discernible name error form lighthouse

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1747939
    roadlink
    #1749180
    David
    Staff
    Customer Support

    Hi there,

    Currently there is no simple method of filtering that element to add an aria-label or other markup – we’ll address that in a future update.

    Looking at your site – i notice there is no Add to Cart buttons on the shop / archive pages ( only single products ) – is that correct ?

    If so you can disable that Element in Customizer > Layout > Woocommerce –> Display cart panel on add to cart – as it only ever displayed if a user adds to cart from the shop / archives.

    #1749232
    roadlink

    Hi David,

    Yes, I don’t use add to cart buttons shop/archive pages.
    I already use that customize tool to do that. https://prnt.sc/123caw6
    Is there any other setting?

    #1749249
    roadlink

    Should I use this one?

       add_action( 'woocommerce_after_shop_loop_item', 'remove_add_to_cart_buttons', 1 );
        function remove_add_to_cart_buttons() {
          if( is_product_category() || is_shop()) { 
            remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
          }
        }
    #1749312
    David
    Staff
    Customer Support

    Uncheck the: Display cart panel on add to cart option:

    https://www.screencast.com/t/igUxa3JUu

    #1749780
    roadlink

    Hi David,

    I have missed that. Done know.
    But What is it for actually?

    #1750374
    David
    Staff
    Customer Support

    Displays a sticky panel when Add to Cart is clicked on shop archives:

    #1750397
    roadlink

    I got it. In that case, I unclick it, and error gone. 🙂

    I believe you can fix the issue in next releases for other people.

    thanks for your time.

    #1750489
    David
    Staff
    Customer Support

    We will 🙂

    Glad to be of help

    #2373145
    Julia

    Dear David,

    You mentioned in 2021 that the problem will be solved in future updates:

    –> Links do not have a discernible name – Lighthouse error <–

    Is there already a solution? I get the same error on my main page:
    https://www.ihrcoachinginstitut.de

    Example: div.gb-container > div.gb-inside-container > div.gb-container > a.gb-container-link

    Best regards,
    Julia

    #2373439
    David
    Staff
    Customer Support

    Hi there,

    the issue in this topic is different to the one you have.

    Question – instead of using a Background image with a Container link, why not simply use an Image Block with a link to that article ?

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.