Affordable Housing and Housing Affordability

I’m sure this has been discussed many times in the past but can someone explain to me what constitutes “affordable housing”? Is it under a certain dollar amount or under a percentage of the market value, etc?