I wonder if this would even be an issue if we would flip the equation a bit: you don't have to get your kids vaccinated, but then they have to go to a school filled with other unvaccinated kids. This wouldn't solve the overall problem, but it would do some 'fear aikido', redirecting them to see that they are trading a nebulous risk for a very real one.
You don't get the sense the author condemns the practice. It's a strong statement from an anarcho-syndicalist like Traven. At least he was aware of the fact that everyone lives downstream of someone. With today's libertarians you get the strong notion that they imagine each of them living in their own bubble in Low Earth Orbit.
I think that's both a more effective and humane approach to the danger posed by non-vaccination than the also-defensible alternatives of allowing people to make that decision but then legal prohibiting them from most public intercourse, or just punishing anyone who is found to have, as a responsible adult, chosen not to vaccinate themselves or their child to a disease where they knew, or reasonably should have known, an effective vaccine was available, without a valid medical reason, and where the person so unvaccinated then transmitted the disease to a third party, for battery or, in the event that death results, murder of the depraved indifference type (as well as, of course, allow civil damages against those responsible adults for the resulting harms.)