Women are treated differently then men. Dress codes is just one of the many inequalities.
When an employer pays someone less solely because of their disability and the law condones it, it becomes an act of economic discrimination.
Although women's inequality has been dramatically improve, it still has years of improvement to come.