I agree with you, my only point is that accessibility costs something. It either costs time and money if you want to adhere to some standard like WCAG, it costs in hiring a better designer who doesn't make inaccessible design choices and understands basics like contrast ratios, and/or it costs in hiring a developer who has enough experience and common sense to know what is accessible and what isn't.
Accessibility costs time and money, there is no way around this. Not all companies want to pay that money. I don't think the entirety of the blame can be placed on developers.