Switch

A Switch is similar to a checkbox in that there there are two possible states, thus making them functionally interchangable. The difference is a switch is on or off, while a checkbox is checked or unchecked.

Press Tab and Shift+Tab to focus the select, then press either Enter or Space to interact with it.

On MacOs, press CMD + F5 to enable VoiceOver and try it for yourself.