legend examples

fieldset with legend as first child - Correct

This is a legend

fieldset with legend as second child - Fail

This is a legend

fieldset with legend nested in second node - Fail

This is a legend

fieldset with legend nested in first node - Fail

This is a legend