[wp-trac] [WordPress Trac] #51299: Remove the title attribute from Walker_Nav_Menu

WordPress Trac noreply at wordpress.org
Tue Jul 13 19:37:38 UTC 2021


#51299: Remove the title attribute from Walker_Nav_Menu
-----------------------------------------+-----------------------------
 Reporter:  Hareesh Pillai               |       Owner:  Hareesh Pillai
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  Menus                        |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  title-attribute needs-patch  |     Focuses:  accessibility
-----------------------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  title-attribute => title-attribute needs-patch


Comment:

 I'm not sure now whether adding a filter is worth much. With or without
 that, we can avoid showing/speaking exactly the same information as the
 link text in the title attribute.

 So [attachment:"51299.1.diff"] takes care of removing redundant tooltips.
 The `$title` variable needed to be moved earlier.

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


More information about the wp-trac mailing list