Make WordPress Core

Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#46985 closed enhancement (duplicate)

Evaluate removing Thickbox

Reported by: desrosj's profile desrosj Owned by:
Milestone: Priority: low
Severity: normal Version:
Component: External Libraries Keywords:
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 (11)

#1 @Clorith
6 years 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
6 years 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
6 years ago

  • Focuses accessibility added

Any new modal implementation should also be accessible :)

#4 @johnbillion
6 years 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.


6 years ago

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


6 years ago

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


5 years ago

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


5 years ago

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


4 years ago

#10 @desrosj
4 years ago

  • Keywords 2nd-opinion early removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

I'm going to close this out as a duplicate of #10955 as there is more discussion there.

#11 @afercia
4 years ago

Thanks, I will add the accessibility focu to #10955 :)

Note: See TracTickets for help on using tickets.