fix check for label content following enclosed input