Checkbox in label is technically invalid
Author: samgreen-sppCreated Nov 28, 2021Updated Mar 28, 2023
label elements should only contain phrasing content, which does not include div elements. The checkbox example is technically invalid for this reason since the Checkbox component is wrapped in a Box which defaults to a div. Would it be possible to provide a prop to change the type of tag that is used for this container element? For example, being able to set it to be a span

This guideline is defined in the following spec
Thanks for the awesome library :)
Source: rebassjs/rebass