and elements when: 1. The radio buttons are wrapped in a fieldset element. For select elements with groups of options, the optgroup element can be used to indicate such groups. Last updated: January 11, 2020. Buy those buttons are non-stylish by default. Hee! Each input is placed before its label so sibling selectors can be used to modify the state of the switch UI, based on whether the input is :checked or not. In case the is not read by screen readers (see note below), labels for the first form control in each group should include the group’s name. The for attribute of the