[wp-trac] [WordPress Trac] #60672: Improve menu toggle accessible name in admin menus

WordPress Trac noreply at wordpress.org
Sun May 5 22:50:31 UTC 2024


#60672: Improve menu toggle accessible name in admin menus
-------------------------------------+----------------------------
 Reporter:  joedolson                |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.6
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by joedolson):

 I think this is an improvement. What this does is makes the Customizer &
 the admin menu editor match their text for editing a menu item, giving the
 name of the item and its object type in the edit button/link.

 It loses the information about the parent item in the admin menu, but I
 think that's still an improvement, overall. When browsing, the parent
 information will be discoverable by context, because menu items with the
 text 'sub item' that appear after an item without that are children of
 that parent. If navigating by tab, then the link will be found first, but
 the parent context is available inside the editing panel, as well.

 This makes the edit button slightly simpler, and more consistent with
 other information. I don't think the position information is useful, since
 it's only meaningful in relation to the other items in the submenu, and
 those are only discoverable by exploration anyway.

 I'd appreciate a second opinion from @alexstine or @afercia, however.

 The alternate option would be to add the parent item to the edit link in
 both the customizer and this menu.

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


More information about the wp-trac mailing list