Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years 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:


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


Change History (6)

#1 @toscho
5 years 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.

#2 @henrywright
5 years 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 5 years ago by henrywright (previous) (next) (diff)

#4 @henrywright
5 years ago

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

#5 @henrywright
5 years ago

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

#6 @helen
5 years ago

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