Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#24506 closed enhancement (wontfix)

get_comment_author_link title attribute

Reported by: henrywright's profile 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)

#1 @toscho
13 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
13 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 13 years ago by henrywright (previous) (next) (diff)

#4 @henrywright
13 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
13 years ago

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

#6 @helen
13 years ago

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