Make WordPress Core

Opened 6 months ago

Last modified 3 months ago

#51363 new feature request

Media library: Custom right-click menu

Reported by: jordi00113 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: ui, accessibility, javascript Cc:


A small but handy feature for the media library could be an custom right-click menu. When a user would like to delete an asset, currently they need to click the asset and look for the red colored link "delete permanently".

If we could right-click on an asset, it would give us some options including "delete"option.
For the end-user, it will save time on deleting images, doing some actions ( needs to be specified) and it will give the user an innovative experience aswell.

Example UI : https://jsfiddle.net/he5t8ysm/

Change History (5)

#1 @mukesh27
6 months ago

#51364 was marked as a duplicate.

#2 @SergeyBiryukov
6 months ago

  • Focuses accessibility added

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.

5 months ago

#4 @afercia
5 months ago

This ticket was discussed during today's accessibility bug-scrub: the team agreed to point out a custom contextual menu wouldn't be fully accessible as it would be only available to mouse / touch users.

The underlying issue is valid though, to some extent. Maybe worth considering alternate options. For example: leveraging the "Bulk select" mode that is used in the Media Library and make it work also in the media modal.

Last edited 5 months ago by afercia (previous) (diff)

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.

3 months ago

Note: See TracTickets for help on using tickets.