[wp-trac] [WordPress Trac] #21603: Add ability to delete multiple menu items

WordPress Trac noreply at wordpress.org
Fri Apr 30 23:08:22 UTC 2021


#21603: Add ability to delete multiple menu items
-------------------------------------+-------------------------------------
 Reporter:  wphound                  |       Owner:  audrasjb
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  5.8
Component:  Menus                    |     Version:  3.4.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch needs-testing                |  javascript, administration
-------------------------------------+-------------------------------------

Comment (by joedolson):

 Some accessibility issues:

 - For keyboard navigation flow, it would make more sense if the bulk
 select appeared before the menu, and navigation moved forward to select
 items.
 - There's a loss of focus when bulk select is enabled, because the button
 is removed on selection. Can this use a checkbox instead, so that there's
 no focus loss, but the control has state?
 - The bulk select checkboxes are unlabeled. Change the span wrapping the
 menu item title to a <label> and add appropriate for/id atributes
 - Add a wp.a11y.speak message to confirm information about the items
 deleted.

 I'm thinking about better error-prevention, too. Since making this
 reversible is probably a lot to tackle, it might be good to add a visible
 list of items to be deleted under the 'Remove selected items' link that's
 associated via aria-describedby. I don't think it needs to be detailed;
 just a comma separated list of item titles, perhaps, but it could give an
 easier way to scan and verify that you haven't accidentally selected
 something you didn't really want to remove.

 I'd definitely like to see this happen.

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


More information about the wp-trac mailing list