[wp-trac] [WordPress Trac] #60673: Indicate submenu item level in admin nav menu editor and customizer nav menu editor

WordPress Trac noreply at wordpress.org
Fri May 17 22:46:52 UTC 2024


#60673: Indicate submenu item level in admin nav menu editor and customizer nav
menu editor
-------------------------------------+-------------------------------------
 Reporter:  joedolson                |       Owner:  rcreators
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  6.6
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility,
  needs-testing-info                 |  javascript
-------------------------------------+-------------------------------------

Comment (by joedolson):

 @oglekler  There are no visual changes in this patch; it's only changing
 the text passed to screen reader users.

 The change, currently:

 For top level menu items:
 Was: `[item name]. Menu item [x] of [y]`
 New: `Edit menu item: [item name] ([type])`

 For sub menu items:

 Was: `[item name]. Sub item number [x] under [parent item].`
 New: `Edit menu item: [name] ([type]), sub-item (level [depth])`

 A couple things I'd like to see change here:

 1) The old sentences ended with a period; that should still be true.
 2) Per the conversations on #60672, I think keeping the item position and
 parent name in the menu would be better.

 Perhaps the new text should be more like

 New: `Edit [item name] ([type] menu item, [x] of [y])`

 and

 New: `Edit [item name] ([type] menu item, sub-item [x] of [y] at level
 [depth]`

 This provides a user with the full scope of context about where this item
 is located and what it is. It is verbose, but because of the ordering, a
 user could move on if they know there's only one item of the appropriate
 name.

 I've shortened the edit prefix as well to account for @afercia's feedback
 on #60672. For voice recognition, I honestly think that the name only has
 a very low probability of triggering these buttons in any case; but I'm
 wondering if we changed the icon to the edit pencil & simplified like this
 whether it could be more intuitive for voice command usage. The pencil is
 more likely to be interpreted as 'edit', so a user might try speaking
 'Edit [item name], and that would seem like a good possible compromise.

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


More information about the wp-trac mailing list