I'm pretty certain vaccination isn't "the law." The only thing compelling anyone to have their children vaccinated are the rules (not laws) for public education (keep in mind: I'm in the US and public school systems differ from county to county in my own state.) You're not required to send your children to public school; they can allow vaccination exceptions on a case-by-case basis ... there's a good amount of freedom here.
That said, I want my children vaccinated. And in the rare medical cases where they can't be vaccinated, I want to know they're safe from people who might carry a life-threatening disease (i.e. others who aren't vaccinated.) It's a tough balance, but the socially responsible thing is to vaccinate, or avoid diverse social contact (such as ... public school.)