Students are legally required to attend school, but not day care or summer camp. If they want to risk their lives voluntarily, that’s one thing. But when the options for many children who lack the ability to home school is either die of coronavirus or go to jail if you don’t, you have a rational basis. But just give children the option of attending online or in person you say? That is simply cost prohibitive for most schools, so more rational basis. Online is also not financially possible for many students who lack access to online resources which, ironically, would be the real equal protection problem.
Primary education is also fundamentally different than summer camp and day care. It is critically important that it be done right to the full extent possible, and splitting finite resources between online and in person screws everyone because they’re both half a**sed. I also have doubts about summer camp especially being a real issue since everyone is essentially similarly situated in that they get online school but no summer camp. It’s a little like a kid claiming there’s an equal protection problem because kids must attend school online but he can’t legally drink beer.
The scope is also much different in a way that makes the risk of transmission - and to a much larger group of people - monumentally higher. We would be looking at hundreds of thousands of more cases and six figure death increases if schools reopen, which is about as rational basis as it gets