-
Face palm 🤦 du jour:
HTMLLabelElement.for
sets a property, what you want isHTMLLabelElement.htmlFor
in 99.99% of all cases: github.com/tomayac/SVGcode/commit/3c6fd4a60ceea5271f2bac0ef95efdd33e71de35#diff-888b9ff4626c480cd44cf16955aaf44f1b701b0c25aee0cc053f84050da40088. See developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/htmlFor for more.