Removing the Webform module’s dependency on jQueryUI
The most noticeable change in Drupal 9 and Webform 6.x is most jQuery UI asset libraries are deprecated and moved to contrib modules. The Webform module was using the jQueryUI’s Tabs, Tooltip, and Date picker plugins. Although I considered keeping the requirement of these plugins using Drupal’s corresponding jQueryUI modules, after some nudging from the Drupal community, I decided to replace the jQueryUI Tabs and Tooltip and make the jQueryUI Date picker an optional dependency.
The jQuery UI Tabs plugin was replaced with Tabby, a lightweight, accessible vanilla JS toggle tabs library. Since tabs only appear within the Webform module’s admin UI, I felt that Tabby was the most straightforward solution without having the Webform module provide its own tabs implementation.
Below is a screenshot of Tabby in the Webform module’s user interface.
Replacing the