The median price is a reflection of what people CAN afford and are CURRENTLY PAYING.
So, if the median is increasing, it is only because people CAN afford it. Hence, no affordability crisis.
It seems as though somebody else sets the median price, and people have to pay it, rather than it...