The problem with legislating middle class comfort as the minimum is that it prices out poor people, since poor people can rarely afford new-build as it is.
(Effectively) banning SROs in many localities did nothing to improve poor living standards, and probably made them worse since choice was now between being on the street or being in illegally subdivided SROs.