[wp-trac] [WordPress Trac] #26562: Remove title attributes: class-wp-admin-bar.php

WordPress Trac noreply at wordpress.org
Thu Sep 17 16:59:33 UTC 2015


#26562: Remove title attributes: class-wp-admin-bar.php
--------------------------------------+------------------------------
 Reporter:  joedolson                 |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Toolbar                   |     Version:  3.3
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion dev-feedback  |     Focuses:  accessibility
--------------------------------------+------------------------------

Comment (by afercia):

 Replying to [comment:6 morganestes]:
 > I vote for deprecating the title attribute and moving towards ARIA,
 especially since it's only two places in core to start with.
 I'd totally second this. Would recommend to consider to deprecate
 `$args['meta']['title']` and encourage the use of ARIA. Worth remembering
 the HTML5 spec discourages the use of the title attribute:
 http://www.w3.org/TR/html/dom.html#the-title-attribute

 About the "Updates" and "Comments" notifications, we should definitely
 avoid to provide the same information twice, see screenshot below:

 [[Image(https://cldup.com/rPbY93DaHy.png)]]

 where (part of) the link text and the title attribute say the same thing.
 This would be read out this way:
 > three one Plugin Update, one Theme Update, Translation Updates visited
 link one Plugin Update, one Theme Update, Translation Updates

 About the visual part, we should find a new way to provide the expanded
 information, especially for touch-only users.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26562#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list