My home is 2-3 years of my annual salary. So is most of my co-workers. Yes, that is probably not true for a teachers salary (although my first home was definitely within 4 years of a teachers salary.)
Are you living in the Bay Area? Is that why medium home prices are so high?