WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#24506 closed enhancement (wontfix)

get_comment_author_link title attribute

Reported by: henrywright Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5.1
Component: General Keywords:
Focuses: Cc:

Description

The link which is output by get_comment_author_link doesn't seem to have a title attribute.

http://www.w3.org/TR/html4/struct/links.html#h-12.1.4

Change History (6)

comment:1 @toscho22 months ago

  • Cc info@… added

Same problem as in #24507: There is no need for title attribute. Plugins can add one by filtering get_comment_author_link.

comment:2 @henrywright22 months ago

The title attribute isn't just for "additional" information about the link destination, it is also for "advisory" information about the link destination. So i think you can get away with repeating the link text in the title attribute.

I'd argue in favour of repeating the link text as the title attribute but i'm sure it isn't the biggest issue you have open right now :}

Version 1, edited 22 months ago by henrywright (previous) (next) (diff)

comment:4 @henrywright22 months ago

Thanks @helen, for pointing out the considerations regarding accessibility. it does seem far better to leave off the title attribute in this case.

comment:5 @henrywright22 months ago

  • Resolution set to invalid
  • Status changed from new to closed

comment:6 @helen22 months ago

  • Milestone Awaiting Review deleted
  • Resolution changed from invalid to wontfix
Note: See TracTickets for help on using tickets.