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

buddypress-trac noreply at wordpress.org
Tue Jan 17 02:44:53 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  |
---------------------------------------+------------------
Changes (by mercime):

 * keywords:  has-screenshots => has-screenshots has-patch


Comment:

 @boonebgorges @dcavins Thank you for your feedback. Both patterns pass
 with screen readers and I agree with using the simpler alternative version
 as well :)

 @dcavins Yes, we can use just the `aria-label` for additional information
 which need to be heard and seen by users but not for item avatars which
 already have `alt` attributes read by screen readers.

 Attached 7188.patch is a third option.

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

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


More information about the buddypress-trac mailing list