Drupal is a registered trademark of Dries Buytaert

add ARIA switch role to checkbox via widget third party setting

targeting the "boolean_checkbox/Single on/off checkbox" widget

this will also allow to style the input differently base on the role attribute, thus enabling for example to create a bootstrap switch. example code is there, will need Bootstrap theme of course.

Activity

Total releases
1
First release
Dec 2024
Latest release
1 year ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Dec 6, 2024