3.1.1 Language of Page fails if the default human language of each Web page cannot be programmatically determined. Success Criterion 3.1.2 Language of Parts requires that "The human language of each passage or phrase in the content can be programmatically determined" which implies that if no language is identified programmatically for 3.1.1 the 3.1.2 requirement cannot be satisfied unless the human language of each passage or phrase is identified using a lang attribute.
/cc @patrickhlauke