I'm not a lawyer

, but it would appear that the seller, whether it is an individual or an organization, has to sign the disclosure stating that they are aware the property is in open violation. The seller does not have to make the repairs. The buyer, by signing, states that violations, if any, have been disclosed, and the buyer will be responsible for repairs if the seller will not (negotiated through the purchase contract). And you are right, typically banks do not make disclosures.
It would appear the law is to make sure that violations are disclosed only, not to have them repaired prior to sale.