Mixed feelings on this one. Considering the influx of aliens crawling with every disease and parasite known to modern man, it is good policy to narrow the reasons people can avoid these vaccines, and especially those who could put others at risk from transmission.
That said, unless you are in the military, nobody can order you to get a vaccine against your will, to a point. If you refuse to get your kids vaccinated then the public schools can and should exclude your kids until they are. I don't see any potential for criminal sanctions, and any imposed would surely be challenged in court.

Its another instance of leftist hypocrisy.
These are the same people who constantly say things like 'our bodies, ourselves' 'nobody has a right to tell me what to do with my body'.
And its another example of the left creating, then 'solving' a problem. Which will always involve stripping away more individual liberties.