Site Editor: 'Delete page' button should be 'Move to trash' #52639
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Site
/packages/edit-site
[Type] Bug
An existing feature does not function as intended
Description
In the Site Editor > Pages > any page, clicking the 'Actions' ellipsis menu reveals a dropdown menu with a 'Delete' button.
Clicking this button opens a confirm dialog with the text:
Are you sure you want to delete this page?
followed by two buttons: Cancel and Delete.
Everything in the UI uses the term 'delete'. As a user, I'd think the page is going to be permanently deleted.
Instead, the page gets moved to the Trash. This is a good thing and it's how WordPress always worked. However, the UI is just wrong as it hints to a delete action, while the actual action is moving to trash.
I'm going to add also the Accessibility label because any UI control should always clearly identify the associated action.
Step-by-step reproduction instructions
/wp-admin/edit.php?post_status=trash&post_type=page
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: