A federal judge has ruled that a West Virginia student who learns online must also comply with school vaccine requirements.