We’re very excited to introduce a new HTML form control as part of Safari 17.4: a switch. Two switches as seen on iOS, with the second switch using a custom CSS accent-color. The HTML for this example looks roughly like this: <style> .special { accent-color: papayawhip } </style> <input type=checkbox switch checked> <input type=checkbox switch checked class=special> Switches are a popular control
![An HTML Switch Control](https://cdn-ak-scissors.b.st-hatena.com/image/square/f11a5219837d51801e72adf263511d2d6017fdc3/height=288;version=1;width=512/https%3A%2F%2Fwebkit.org%2Fwp-content%2Fuploads%2Fswitch.png)