I think there's a line that most reasonable people can determine between "I disagree with $CURRENT_VIEW" and "I am against $PERSON_OF_CATEGORY existing." For example, frequently someone on Twitter will say things like, "calling for more bike lanes is ableist." I think - and am not afraid to have my name attached to this sentiment - that this is an absurd take. Every aspect of society cannot possibly serve everyone, but that doesn't mean we should fail to do something because a minority of that society can't participate. If the action actively harms that minority, then yes, close examination of it is warranted.
However, if your publicly stated opinion is that gay people shouldn't be allowed to be teachers, you deserve to be pilloried, because that opinion is harmful and without merit.