Why did you change what the label contains? Labels are not allowed to contains divs (see "Permitted content" on https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label).