Woocommerce – Product Page – Image ALT attribute

This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Eva Kemp

  • Avatar: lindo_web
    Simon
    Participant
    June 29, 2016 at 12:01

    Not sure if this has to do with the template or woocommerce itself, but wanted to raise this issue I am having. The images I upload have unique names and have alt attributes added in WP backend media library. Whilst this works fine for the ‘original’ file it seems the resized files do not inherit the alt attribute:

    <a href="https://lindoguitars.com/wp-content/uploads/2016/06/lindo-shark-electro-acoustic-guitar-sea-blue-front-view.jpg" itemprop="image" class="woocommerce-additional-image product-image" title="lindo-shark-electro-acoustic-guitar-sea-blue-front-view"><img src="https://lindoguitars.com/wp-content/uploads/2016/06/lindo-shark-electro-acoustic-guitar-sea-blue-front-view-555x370.jpg" class="lazyOwl"/></a> <a href="https://lindoguitars.com/wp-content/uploads/2016/06/lindo-shark-electro-acoustic-guitar-sea-blue-front-view.jpg" class="product-lightbox-btn" data-rel="gallery[product-gallery]">lightbox</a>

    Is there anything that can be done about this?
    Regards
    G

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    June 29, 2016 at 13:14

    Hello,

    Do you mean alt text isn’t shown for images on single product pages?
    Please provide FTP and WP admin credentials in Private Content.

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.