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

WordPress Trac noreply at wordpress.org
Fri Apr 30 22:53:17 UTC 2021


#26562: Remove title attributes: class-wp-admin-bar.php
-------------------------------------------------+-------------------------
 Reporter:  joedolson                            |       Owner:  joedolson
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Toolbar                              |     Version:  3.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  title-attribute has-screenshots      |     Focuses:  ui,
  commit                                         |  accessibility
-------------------------------------------------+-------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50801" 50801]:
 {{{
 #!CommitTicketReference repository="" revision="50801"
 Toolbar: Remove title attribute on pending updates link.

 Remove the title attribute from the link, wrap the link icon and numeric
 indicator with the `aria-hidden` attribute, and add a `.screen-reader-
 text` span so screen readers hear a link that has relevant context without
 requiring translators to deal with appended strings. Removes the
 individual counts of theme and plugin updates from the attribute, as those
 were already buggy and didn't include translation counts.

 Props afercia, Mte90, sabernhardt, audrasjb
 Fixes #26562. See #53031.
 }}}

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


More information about the wp-trac mailing list