[wp-trac] [WordPress Trac] #51299: Remove the title attribute from Walker_Nav_Menu
WordPress Trac
noreply at wordpress.org
Sat Oct 5 22:29:33 UTC 2024
#51299: Remove the title attribute from Walker_Nav_Menu
----------------------------------------------+----------------------------
Reporter: Hareesh Pillai | Owner: joedolson
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Menus | Version:
Severity: normal | Resolution: fixed
Keywords: title-attribute has-patch commit | Focuses: accessibility
----------------------------------------------+----------------------------
Comment (by joedolson):
In [changeset:"59179" 59179]:
{{{
#!CommitTicketReference repository="" revision="59179"
Menus: Remove redundant `title` attributes.
Omit `title` attributes if they are defined but are the same text as the
menu item title, either before or after filtering. If a navigation menu
filter makes significant changes to the menu title without changing the
title attribute, this will still remove them. The cases where this occurs
and the title attribute is still a useful value will be very uncommon,
however.
Props hareesh-pillai, audrasjb, sabernhardt, afercia, sergeybiryukov,
tirth03, joedolson.
Fixes #51299.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51299#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list