Toggles

Checkbox
Button with aria-pressed
Checkbox with switch role
Button with aria-checked and switch role
Checkbox with switch role and aria-checked

This pen is used in the post Switch Role Support.