Replacing Radio Buttons Without Replacing Radio Buttons

Amir HameedTechnology Leave a Comment

Forms elements! They’re a pain to style, aren’t they? It’s tempting to replace them altogether, with some custom markup and CSS of our own design. The trouble is, the resultant rat’s nest of divs and spans will lack the semantic and behavioral qualities that made the standard type="radio" input accessible.

via Replacing Radio Buttons Without Replacing Radio Buttons.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.