Alt text not showing on images

#130240
  • Resolved Celeste Lombard
    Rank Math pro

    Dearest RankMath
    For some time now I have had the setting under General- Images “Add missing ALT attributes” enabled. The “Alt attribute format” is set to “%filename%” however none of my images ALT TEXT are changed to the filename. Am I doing something wrong or can you please look into it? I just need my ALT TEXT to change to the filename of the image.
    Thanks so much
    Celeste

Viewing 11 replies - 1 through 11 (of 11 total)
  • Danial
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    ​If the alt text is missing from the images added using your theme, you will need to edit the PHP files for that. Please get in touch with your theme provider and they will be able to provide you with exact instructions on that.

    Also, check your view source if it is showing correctly.

    ​Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I have tested and added alt text to my images and the alt text shows in the source code so it can’t be the theme?
    Thank you.

    Hello,

    I created a test post on your site and added some media files. The alt attributes and title are being added successfully to the images I added with WP editor. Please check the screencast I added in the sensitive section.

    Are you using a builder to add your images?

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello
    Thank you for the video. I think you are misunderstanding the problem.
    I am referring to image SEO as per this article https://rankmath.com/kb/image-seo/
    The setting in RankMath is supposed to Add missing ALT attributes from the image title – as per the settings.
    Or am I missing something?

    Danial
    Rank Math business

    Hello,

    This option works on my end. Please see the screencast in the Sensitive Data on how it automatically creates the alt text.

    I hope this helps you with your issue.

    Hi
    It does not work in my Custom Post Type called “Listings”
    When I add images to the listings the ALT Attribute does not populate.

    Danial
    Rank Math business

    Hello,

    I tested using a CPT on my end, and it worked as well.

    When I tried creating a test draft post on your Listing, I uploaded an image from your post’s Add Media: Screenshot 1

    Looking at the source code, I do see the alt getting created: Screenshot 2

    I hope this helps you with your issue.

    Ok thank you for your help
    Can you just tell me why the alt text does not show in the media library – only in the source code.

    Hello,

    The option to add the alt text in Rank math doesn’t do this in the backend. The alt tag is added automatically when the page is opened in the front end.

    What Rank math does is that when you open a page with the option to add alt attribute enabled, we look for all images that don’t have an alt attribute defined and add this according to your settings.

    Hope this clears this issue. Let us know if you have any further questions.

    Thank you

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

You must be logged in to reply to this ticket.