[buddypress-trac] [BuddyPress] #2606: Improve avatar HTML alt tag. And add title parameter.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 28 11:26:13 UTC 2010

#2606: Improve avatar HTML alt tag. And add title parameter.
 Reporter:  DJPaul  |       Owner:           
     Type:  defect  |      Status:  new      
 Priority:  normal  |   Milestone:  1.3      
Component:  Core    |    Keywords:  has-patch

Comment(by DJPaul):

 The new patch adds alt tags to more avatars throughout the site. I believe
 we have them all.

 -I added the "'blog' == $object" bit back in as group activity stream
 entries uses it.
 -I had to treat the activity steam avatars differently.
 -Activity stream group avatars have an alt tag of "Group avatar", this is
 because there's currently no way of getting the group name without
 returning the group object (per your patch); this'd add a query per group
 avatar in the activity stream, which isn't awesome.

 The strings we now have are:
 -"picture of ..." for all member avatars.
 -"blog avatar of ..." for blog activity stream avatars / "blog authored by
 ..." for blog directory avatars.
 -"group avatar for ..." for group directory, group pages and forum
 -"group avatar" for group activity stream avatars (note no insertion of
 group name).

 I don't think the word "avatar" is something we want here. I'm not sure
 how many non-geeks will know what an "avatar" is in this context. What
 would we change it with? Thoughts?

Ticket URL: <http://trac.buddypress.org/ticket/2606#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list