Alt attribute not added on images from ACF field?

#164671
  • Resolved sept24
    Rank Math pro
    Content AI Expert

    Hi,

    I’ve searched the support page for issues related to mine but haven’t found my exact case. The “Add missing ALT attributes” doesn’t do anything on any of my sites. All of our themes are custom built using ACF. We output images using WP functions like wp_get_attachment_image(). Is the feature supposed to work with this kind of setup? If not, how and when exactly does it work?

    Also, does the feature work on all existing images as soon as you activate it or does it only work on future uploads? (Don’t think so from what I’ve read but just checking).

    I’ll link our staging site in the sensitive data part.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    I’ve checked the image you’re referring to, and it seems that it is being used in the slider using ACF.

    Please note that Rank Math only adds missing ALT attributes for images added directly in post or page content. It will not do so for images used in headers, sidebars, footers, sliders, thumbnails, icons, etc.

    You can also visit this link for more information:
    https://rankmath.com/kb/image-seo/#3-image-alt-title-attributes

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance.

    sept24
    Rank Math pro
    Content AI Expert

    Okay, that’s what I thought. I don’t know the technical implications but would it be possible to expand the feature to images added by ACF fields?

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    Unfortunately, you may need to add the ALT tag to these images manually as Rank Math Add missing ALT attributes only works with images added directly to the content.

    The image you are referring to was added through a slider. Sorry to disappoint but that feature is unfortunately not available at this time.

    With that being said, there are existing feature requests, so I’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, I’ll be sure to let you know.

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance.

    sept24
    Rank Math pro
    Content AI Expert

    Thanks

    Anas
    Rank Math business

    Hello,

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Alt attribute not added on images from ACF field?’ is closed to new replies.