Many people don’t see housing inflation - if you bought a house in 2020 and house prices were up 80% since then it doesn’t affect your housing costs, especially in the US where mortgage rates are fixed for length of term even if interest rates sky rocket.
As long as accommodation isn't 100% of your basket of goods and services you use to measure inflation, accommodation can rise in price faster (or slower) than the basket. This ain't exactly rocket science.
If the mandatory basket item expense raises, it should also become a larger portion of basket, as the basket is supposed to measure the cost of living. So either CPI is not properly measuring the cost of living, or there isn't an affordability crisis.
You cannot have rising inflation adjusted wages and worse spending power, unless the inflation is not being measured meaningfully.