WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 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:

Description

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 (4)

#1 @mukesh27
2 months ago

#51364 was marked as a duplicate.

#2 @SergeyBiryukov
2 months ago

  • Focuses accessibility added

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


2 months ago

#4 @afercia
2 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 2 months ago by afercia (previous) (diff)
Note: See TracTickets for help on using tickets.