Add attr "for" if errorElem is label.