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.)
Vaccines are a great example of a personal choice that does hurt other people, despite seeming like something that impacts only you.
Why? In short, because herd immunity is far more powerful than individual immunity, and protects even people who cannot be vaccinated. By choosing not to vaccinate, you chip away at herd immunity.
Actually, a couple anti-vaxxers would be OK. Herd immunity, as I said, allows for some people to safely be unvaccinated, and that is why it is powerful. The problem is when anti-vax'ing became a movement with the goal of convincing as many people as possible not to vaccinate.