• Resolved ilyapokrov

    (@ilyapokrov)


    I add images to the product profile and save them. Then I add different title and alt attributes to each image manually. But when I check the site, the alt attribute is not correct. Instead of my text, the title text of the product card is displayed. It is the same in every picture.

    There are some plugins that add the alt attribute automatically. But this is wrong. After all, I manually specify what exactly and which image to write in the alt attribute.

    How can I solve this problem? Please help me.

    • This topic was modified 5 years, 11 months ago by ilyapokrov.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    Just to make sure – you’re referring to the text shown when the featured image is opened in a lightbox, right?

    If so, it’s important to note that you’ll want to use the *Description* field instead of the “Alt text”. Here’s what that looks like on my local testing website:


    Link to image: https://d.pr/i/xCMIxp


    Link to image: https://d.pr/i/z1MIRg

    Thread Starter ilyapokrov

    (@ilyapokrov)

    @riaanknoetze,
    Yes, that’s right. I fill in alt and title in as in the picture. I want to see what I wrote. But if you check using f12, the alt attribute is the same for all images and it is the same as the product name (H1). Look at the example, I specified the link at the beginning.

    Thread Starter ilyapokrov

    (@ilyapokrov)

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @ilyapokrov. Looking at the product image, this is the alt value:

    If I select another image, the alt value also changes:

    Could you share some more details of what you’re referring to please? In particular, it would be great if you could share some screenshots showing the issue since I don’t have an F12 option on my computer. You can use https://snipboard.io/ for easily sharing screenshots – please follow the instructions on the page, then paste the URL(s) in your reply.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    We haven’t heard back from you so I’m going to go ahead and mark this thread as resolved. If you still need help with this issue or have any other questions about the WooCommerce plugin, please start a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Alt attributes for images’ is closed to new replies.