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

WordPress Trac noreply at wordpress.org
Sat Oct 5 21:54:37 UTC 2024


#51299: Remove the title attribute from Walker_Nav_Menu
---------------------------------------+----------------------------
 Reporter:  Hareesh Pillai             |       Owner:  joedolson
     Type:  defect (bug)               |      Status:  accepted
 Priority:  normal                     |   Milestone:  6.7
Component:  Menus                      |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  title-attribute has-patch  |     Focuses:  accessibility
---------------------------------------+----------------------------

Comment (by joedolson):

 Tested, and this works as expected. Show a title attribute if it is
 unique, but omits it if it is a match, and also accounts for filtered
 values that may result in a mismatch in some cases, but still match
 others. There may be cases where this will remove title attributes that
 are intended, but those cases will be rare - and I think that's acceptable
 given the long-stated intention of removing title attributes as much as
 possible.

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


More information about the wp-trac mailing list