WordPress.org

Forums

Please restore the choice "title" for the link of pictures (9 posts)

  1. glaurent
    Member
    Posted 11 months ago #

    I know : The new option "Image Title Attribute" is a good thing

    But the old option "Title" in "Options avancées du lien" was very useful for lightbox plugins.

    I know, i can write the "title" directly in the html of the post but it is more complicate.

    Thank you

  2. Andrew
    Nuh uh moderator
    Posted 11 months ago #

    Have you tried a plugin for this instead of requesting it be put back into core? As you've said it's plugin territory, "was very useful for lightbox plugins", and so if the plugin authors haven't made a way to resolve this issue then you can use another plugin to do so:
    http://wordpress.org/plugins/seo-image/ ~ Excuse the silly plugin name

  3. glaurent
    Member
    Posted 11 months ago #

    Hello, thank you for your answer.

    I think http://wordpress.org/plugins/seo-image/ append a title to the picture, not to the link of the picture.

    This option was into core towards 3.8 : options avancées du lien

    see here

    With the 3.9, this option is no more present.

    Title and alt of picture is a very good think.

    But for the title of the link of the picture, i think it is just a regression.

  4. Andrew
    Nuh uh moderator
    Posted 11 months ago #

    It seems the reasons why you want it in core are;

    • You can't find plugins that do what you want
    • It was in core to begin with therefore it should be in core right now
  5. Rolf Broberg
    Member
    Posted 10 months ago #

    The title attribute is a standard feature in HTML, and the WP image insertion dialog still supports the input of a title text which is then saved in the database.

    When I created my blog, that initial title text was used as img title attribute value, showing up as a tooltip in the browsers. After that, the title support has gradually decayed. At one point, the title input field of the image edit dialog ignored the initial value from the image insertion dialog, so you had to rewrite your text in the edit dialog to get a title attribute. This means you had to use both the insertion and the edit dialogs for every image to get both an image and a tooltip for it. And in v3.9.2, title was completely removed from the edit dialog, so the only way to get a title value for the image is now to hack it into the HTML tab.

    What was the reason to phase out the title attrib? And why do it in such a slow and painful way? We still have the title attrib in the insertion dialog, but what are we supposed to do with that info? Is that going to disappear too in the future?

    Whatever you do with title attribs, please don't filter them out from the HTML. It is our last way of supplying titles to images. They are standard in HTML and they are doing no harm to those who don't use them. I am really curious what was the reason to put such effort in getting rid of them in WP.

  6. Andrew
    Nuh uh moderator
    Posted 10 months ago #

    The reason to phase it out was that it was causing clutter for assistive technologies such as screen readers.

  7. Rolf Broberg
    Member
    Posted 10 months ago #

    Thanks for telling us the motive! I'm glad that our sacrifice is a help for others. It's not that much extra work to add title texts in the HTML tab instead for us who really want them.

    But I hope that titles (tooltips) for text hyperlinks will still be supported. Or are they too a problem for screen readers?

  8. Andrew
    Nuh uh moderator
    Posted 10 months ago #

    To clarify, the issue was only regarding the title attribute on the <img> element.

  9. Rolf Broberg
    Member
    Posted 10 months ago #

    Good!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.