- The use of HTML labels and checkboxes as well as the CSS
:checked
pseudo-class to influence the appearance of adjacent elements. The checkbox hack is considered a hack because it may not make appropriate use of form markup, and may violate separation of concerns, when the intended behavior is best achieved by use of a scripting language.