Some jobs require you to work in close proximity with other people. Others don't.
Since higher vaccination rates protect other people, I'm hopeful that vaccines become as mandatory as possible. That this bothers anti-vaxxers doesn't bother me, because why should it? I'm not more bothered by this than the vaccine requirement to enter public schools for kids.
Your line of reasoning could also be used against seat belt laws or building codes: why have those for public safety if we don't ban alcohol?
edit: also, while I don't support banning alcohol, it wouldn't be a violation of a person's basic rights to ban it. That used to be the law of the land in the US, and even today there are still some dry counties (alcohol cannot be sold).
It's literally not. Have you heard of the Prohibition?
That’s not why but which rights do you think it violated exactly? There still exist dry counties in the US.