Opened 2 years ago
Last modified 3 weeks ago
#61557 new defect (bug)
When deleting menu items in batches, it is easy to mistakenly click on the delete menu action.
| Reported by: | iwillhappy1314 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Menus | Version: | 6.5.5 |
| Severity: | normal | Keywords: | needs-design-feedback has-screenshots has-patch |
| Cc: | Focuses: | ui |
Description
In the batch delete menu items interface: If there are many menu items, the "Batch Delete" operation link might be obscured by the menu operation toolbar at the bottom, making the "Delete Menu" link more prominent. Although a confirmation prompt appears when clicking this link, accidentally ignoring it could result in the entire menu being mistakenly deleted.
Suggested Solution: I think moving the Delete Entire Menu link in the toolbar to the right will reduce the chances of this error happening.
Attachments (1)
Change History (9)
This ticket was mentioned in PR #12430 on WordPress/wordpress-develop by @maxpertici.
5 weeks ago
#2
- Keywords has-patch added
#3
@
5 weeks ago
Hi,
I just opened a PR to fix this a small issue.
Having made this accidental deletion mistake multiple times myself, I totally agree that moving this button is a great idea.
To prevent this, I've moved the "Delete Entire Menu" link over to the right side of the toolbar.
#5
@
4 weeks ago
For accessibility reasons, related buttons should be kept in close proximity to each other, and should be proximity to the controls that the are associated with. These were moved in #56594.
Feel free to make suggestions other than spreading the two buttons apart, but that particular change isn't going to happen.
#6
@
4 weeks ago
- Keywords needs-design has-patch removed
Another possibility is to reconsider the sticky position added in 5.7 (#51631).
#7
@
3 weeks ago
Could removing the sticky element while making a multiple selection be a solution? It would cause an interface shift, but maybe it could prevent errors? When using multiple selection to confirm a deletion, you have to scroll to the button at the end of the list anyway.
I think I can propose something for this.
Could this be an issue from an accessibility standpoint?
This ticket was mentioned in PR #12587 on WordPress/wordpress-develop by @maxpertici.
3 weeks ago
#8
- Keywords has-patch added
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
styles(admin-nav-menus): space out action buttons while preserving "Delete"