Currently the checkbox and radio assume a text label is off to the right. Occasionally there is a need to either have the label hidden, or placed elsewhere (but still referenced via for attribute).
As it is there is built-in white space to the sides, and thus removing/hiding the text label retains that space.
Task
Variation of both elements that suppresses white space on all four sides.
Background
Currently the checkbox and radio assume a text label is off to the right. Occasionally there is a need to either have the label hidden, or placed elsewhere (but still referenced via
for
attribute).As it is there is built-in white space to the sides, and thus removing/hiding the text label retains that space.
Task
Variation of both elements that suppresses white space on all four sides.
Current
Desired