WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Feature request for editor: title attribute field for links (3 posts)

  1. smiffy
    Member
    Posted 9 years ago #

    Hi

    I can hack this for my own system, but thought that it would be handy to have as a standard.

    The popup for adding link anchors could provide a field where content for the title attribute could be entered. As it is, I have to go and put this in manually which, for me, half defeats the point of having the link element created automatically.

    Links as provided:
    <a href="www.foo.bar/baz">Foo Bar Baz</a>

    Links as I do them:
    <a href="www.foo.bar" title="page about Baz on the Foo Bar site">Foo Bar Baz</a>

    Note - the title attribute is NOT just to provide a tooltip; it contributes to the semantic quality of the document and is an important aid for accessibility. (Sorry if I'm preaching to the converted.)

    Cheers

    Smiffy

  2. MichaelH
    Member
    Posted 9 years ago #

  3. smiffy
    Member
    Posted 9 years ago #

    Thanks - saves me having to think up the code ;-)

    I still think it would be handy to have as a standard feature in quicktags; the requirement for 'rel' is less common, but the way that links are used in web log posts, I'd say just about every one needs a title.

    Cheers

    M

Topic Closed

This topic has been closed to new replies.

About this Topic