Make WordPress Core

Opened 23 months ago

Closed 23 months ago

Last modified 23 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:


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


Change History (6)

comment:1 @toscho23 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 @henrywright23 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 23 months ago by henrywright (previous) (next) (diff)

comment:4 @henrywright23 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 @henrywright23 months ago

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

comment:6 @helen23 months ago

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