That's the technical meaning, not the more relevant culturally loaded meaning.
If I say someone "voted in a prejudiced way," it's technically true if they'd already decided how they'd vote before they did so, but most people would understand my meaning to be that their vote was motivated by bigotry of some kind.