Fail.
Someone who would never vote for a candidate of a particular sex or race is sexist or racist. Someone who would have a hard time voting for someone of a particular race or sex is racist or sexist. Someone who counts the fact that a candidate is breaking through a glass ceiling as a point in their favor is being anti-sexist or anti-racist.