<legend> only makes sense as the first child of a fieldset element

See http://www.w3.org/TR/html5/forms.html#the-legend-element