“Affordable housing” requirements like that are all the rage with Leftist city councils and county commissions. They should be fought tooth and nail.
I don’t know how you fight them. They are like contract law. The city/county says, if you want to build here then X number of units can’t be more than Y dollars. You either accept or not. They have full control over what gets built. How do you fight that?