Role Switch checkbox
No security coverage
This module enhances the default boolean checkbox widget by adding an ARIA switch role. This allows for better accessibility and enables custom styling of the checkbox to create visually distinct switch elements.
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.