WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 6 weeks ago

#46985 new enhancement

Evaluate removing Thickbox

Reported by: desrosj Owned by:
Milestone: Awaiting Review Priority: low
Severity: normal Version:
Component: External Libraries Keywords: 2nd-opinion early
Focuses: accessibility, javascript, administration Cc:

Description

Thickbox is an outdated, unmaintained JavaScript library (last updated in 2007) that has been superseded by other, more modern and maintained options in the last 12 years.

After a few discussions with @joemcgill, this ticket is being opened to audit the current usage in Core, to discuss alternatives, and to discuss potentially removing the library entirely.

On initial scan, the most prominent usage of Thickbox is on the "Plugins" and "Updates" screens powering the "View Details" and "View version details" overlays.

Change History (8)

#1 @Clorith
5 months ago

We should also evaluate use in plugins and themes for this, I believe we discussed this 2ish years ago and diacovered a not insubstantial amount of plugins relied on it at that time, so this should be re-checked now.

#2 @desrosj
5 months ago

Thanks for adding that, @Clorith! I forgot to add that to my description. Completely agree. This is what I had in mind:

  1. Audit use in Core.
  2. Replace remaining usages (if there is a decision to proceed).
  3. Evaluate remaining use in the wild (plugins, themes, custom code).
  4. Present developers with better alternatives and educate.
  5. Remove form Core entirely or switch to enqueueing from a CDN (similar to Scriptaculous and Prototype in Core now).

#3 @afercia
5 months ago

  • Focuses accessibility added

Any new modal implementation should also be accessible :)

#4 @johnbillion
5 months ago

  • Focuses javascript added
  • Priority changed from normal to low
  • Type changed from defect (bug) to enhancement

I think you'll find a very large number of plugins and themes using Thickbox.

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


5 months ago

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


4 months ago

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


3 months ago

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


6 weeks ago

Note: See TracTickets for help on using tickets.