Image Alt Text In Source But Not Displaying

Skip to content
WordPress.org

Forums

  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
Skip to content

Home / Fixing WordPress / Image alt text in source but not displaying

Search for: Search forums
  • nicholas94

    (@nicholas94)

    4 years, 3 months ago

    We have added alt, title and caption text to the images. When I inspect the images, the alt text is in the code, but when I hover over the images, it does not display.

    The theme is Astra Child 1.0.0.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • muktadhawan

    (@muktadhawan)

    4 years, 3 months ago

    Alt tag will not show on hover

    Title of image will show on image hover. Please add title in the image and check

    • This reply was modified 4 years, 3 months ago by muktadhawan.
    Thread Starter nicholas94

    (@nicholas94)

    4 years, 3 months ago

    We have been adding titles, but they don’t display either.

    muktadhawan

    (@muktadhawan)

    4 years, 3 months ago

    i have inspect youe code but there is no title in the images. images has only alt tag

    Thread Starter nicholas94

    (@nicholas94)

    4 years, 3 months ago

    We have been adding titles as well as alt text.

    gssilver

    (@gssilver)

    4 years, 1 month ago

    I have same problem. A few of my alt tags show up on hover over image, most do not.

    I have Title and Alt Text fields populated for all the images I’ve checked with problems (as well as caption and description) in the image in Media Library.

    When I inspect code for page with image, I can find the alt text for those pics, but I am not a programmer and do not know enough to see if the display of alt tag on hover is somehow being suppressed in the code? And not sure what would cause that?

    Elementor 3.0.14 Astra 2.6.1

    • This reply was modified 4 years, 1 month ago by gssilver.
    • This reply was modified 4 years, 1 month ago by gssilver.
    • This reply was modified 4 years, 1 month ago by gssilver.
    gssilver

    (@gssilver)

    4 years, 1 month ago

    Just discovered some additional info:

    If instead of editing the alt tags in the media library: 1) I go to “Back to the WordPress Editor” – 2) then I right click on the image 3) then click on the pencil to get box “Image Details” Then I first find that the first field “Alternative Text” is populated (but not with the update that I last put in for the image in Media Library – which I guess is it’s own separate issue??)

    And under Advanced Options: “Image Title Attributes”, that field is empty. If I populate and save that field, then I will THEN get the alt text when hovering over image.

    However, this is not a practical workable solution as it screws up my Elementor format when I save, as well as being a very time consuming fix.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image alt text in source but not displaying’ is closed to new replies.

Tags

  • alt tags
  • In: Fixing WordPress
  • 6 replies
  • 3 participants
  • Last reply from: gssilver
  • Last activity: 4 years, 1 month ago
  • Status: not resolved

Topics

Topics with no replies

Non-support topics

Resolved topics

Unresolved topics

All topics

Từ khóa » Html Image Alt Text Hover