I don't see why that doesn't also count. As someone said above, kids don't get an option of not going to school, and often schools have uniforms. Wanting a job is a form of duress, making a dress code part of that is putting that in as part of the not particularly consented to package.