HTML may be adding a native switch attribute to checkbox inputs!

RMAG news

In an article called ” Switching it up with HTML’s latest controls” written by Daniel Yuschick. I learned that HTML may be adding a native switch attribute to checkbox inputs. Developers for years have had to use Checkbox hacks for forms that toggle between two different states. These developments have taken years but have finally been announced they are pushing the matter. Safari has also released new pseudo elements for styling hooks. Please check out the article on smashingmagazine.com for further information.