#46985 closed enhancement (duplicate)
Evaluate removing Thickbox
Reported by: | 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)
#2
@
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:
- Audit use in Core.
- Replace remaining usages (if there is a decision to proceed).
- Evaluate remaining use in the wild (plugins, themes, custom code).
- Present developers with better alternatives and educate.
- Remove form Core entirely or switch to enqueueing from a CDN (similar to Scriptaculous and Prototype in Core now).
#3
@
6 years ago
- Focuses accessibility added
Any new modal implementation should also be accessible :)
#4
@
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.
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.