WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

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

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 @toscho2 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.

comment:2 @henrywright2 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 but i'm sure this isn't the biggest issue you have open right now :}

Last edited 2 years ago by henrywright (previous) (diff)

comment:4 @henrywright2 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.

comment:5 @henrywright2 years ago

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

comment:6 @helen2 years ago

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