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

buddypress-trac noreply at wordpress.org
Wed Jan 4 22:23:36 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  |
-----------------------------+------------------

Comment (by dcavins):

 I agree that this is neat. I like the alternative version better, too, and
 wonder if we could further drop the extra `data-bptooltip` attributes
 (that appear to always duplicate the `aria-label` attribute, and we'd
 always want the `aria-label` to be populated, right?). If so, the css rule
 could be:

 {{{
 .bp-tooltip::before{
   content: attr(aria-label);
   ...
 }
 }}}

 It was really helpful to have the pens to look at and mess with. Thanks
 for researching this and building the demos, @mercime.

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


More information about the buddypress-trac mailing list