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

WordPress Trac noreply at wordpress.org
Wed Apr 14 18:15:44 UTC 2021


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

 * keywords:  ui-feedback title-attribute needs-screenshots => ui-feedback
     title-attribute has-screenshots


Comment:

 The only visual differences are when the mouse hovers over the link. I'm
 more confident about simply removing the title attribute after noticing
 that the
 [https://core.trac.wordpress.org/browser/tags/5.7/src/js/_enqueues/wp/updates.js#L355
 updates script] already removes it from the Updates, Plugins and Themes
 screens.

 Other notes:
 1. For anyone who appreciates seeing the plugin and theme counts, I opened
 #53031 to add those to the Updates screen.
 2. Because the patch's code uses screen-reader-text like the Comments in
 moderation link, the updates script still would need to edit that text
 (see #29022).

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


More information about the wp-trac mailing list