Support » Alpha/Beta/RC » alt attribute in inserted images is empty

  • Resolved Yogi T

    (@yogi-t)


    When inserting a single image in 3.5 RC 2 , only the caption is inserted. The alt atribute is emty (alt=””). The Attachment details fields like Title, Caption and Alt Text are filled.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dominik Schilling (ocean90)

    (@ocean90)

    WordPress Core Developer

    Whats your full WordPress version? Do you have something like 3.5-RC2-22958?

    If not, then it should be fixed in the next nightly build, see https://core.trac.wordpress.org/ticket/22640.

    esmi

    (@esmi)

    Forum Moderator

    I think this might be the correct behaviour. It is up to the Page/Post author to add an alt attribute to an image when it is uploaded, later edited or if it is being used as a link. An unlinked captioned image does not need an alt attribute.

    @occean90: Its simple 3.5 RC2 Thanks, I did not see the ticket.
    @esmi: There is still no value for the alt attribute, if I insert the image without a caption or with a link.

    I will try next nighly build.

    esmi

    (@esmi)

    Forum Moderator

    There is still no value for the alt attribute, if I insert the image without a caption or with a link.

    Yes – as I said I think that’s the expected behaviour. You have to add an alt attribute to the image before inserting it.

    I’ve tryed with 3.5-RC2-22928 now and it works like expected.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘alt attribute in inserted images is empty’ is closed to new replies.