[buddypress-trac] [BuddyPress Trac] #7188: Remove/Replace `title` attributes with Tooltips usable in all devices

buddypress-trac noreply at wordpress.org
Tue Jan 17 15:31:29 UTC 2017

#7188: Remove/Replace `title` attributes with Tooltips usable in all devices
 Reporter:  mercime                    |       Owner:
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  2.8
Component:  Core                       |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |

Comment (by dcavins):

 @mercime: Thanks for the clarification. I'm of two minds whether having
 two tooltip style sets is worth it, just to avoid duplicating the tooltip
 info. I'm leaning toward your original suggestion:

 * for avatars = add class="bp-tooltip" and data-title="etc.etc." which
 replaces the title attribute
 * for button icons/links = add class="bp-tooltip" and data-
 title="etc.etc." AND aria-label="etc.etc."

 It seems like keeping the mechanism more uniform would make it easier
 should anyone need to change the behavior or styling.

 Sorry I didn't understand the implications the first time around. I still
 think this is a cool improvement.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7188#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list