[wp-trac] [WordPress Trac] #62897: Title attribute of menu item is not correctly displayed in the frontend

WordPress Trac noreply at wordpress.org
Mon Feb 3 10:08:20 UTC 2025


#62897: Title attribute of menu item is not correctly displayed in the frontend
---------------------------+-----------------------------
 Reporter:  manuel10503    |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Menus          |    Version:  6.7.1
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 Hello,

 I’ve noticed that when a title attribute is assigned to a menu item, it is
 no longer correctly displayed in the frontend. Instead of showing the
 assigned title, either nothing is displayed, or the title appears empty
 with just the attribute present.

 This issue occurs in the current version of WordPress and affects all menu
 items with a title attribute.


 **Steps to reproduce:**
 1. Go to "Appearance" > "Menus" and add a title attribute to a menu item.
 2. Save the menu and load the page in the frontend.
 3. Inspect the HTML code of the menu, where the title attribute should be
 present.


 **Expected behavior:**
 The title attribute should be correctly output in the HTML code of the
 menu item and displayed in the frontend.


 **Actual behavior:**
 The title attribute is either not displayed, or it is not rendered
 correctly in the HTML code.

 I would appreciate it if this issue could be resolved in a future version.

 Thank you!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62897>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list