> It is illegal for an employer to publish a job advertisement that shows a preference for or discourages someone from applying for a job because of his or her race, color, religion, sex (including gender identity, sexual orientation, and pregnancy), national origin, age (40 or older), disability or genetic information.
> For example, a help-wanted ad that seeks "females" or "recent college graduates" may discourage men and people over 40 from applying and may violate the law.
https://www.eeoc.gov/prohibited-employment-policiespractices