Washington State, at one time, had this thing called the "Becca Bill", which, to sum it up, was over a teenage girl who kept skipping school and got her ass murdered for it, so the State made it illegal for kids to miss school. Now, this was in the 1990's, when State Helicopter Parenting and the ascendency of school over parents was just starting. Kid get the chickenpox? They'd send the cops out to make sure that little 8 year old Suzy was actually covered in spots and not skipping school to do drugs.
I don't know if it's still in effect, because there was HUGE backlash against it when the schools got a bit too power mad.
In Centralia/Chehalis there were several cases that made the news when parents moved from one school district to the other and got served with summons, CPS called in, and law enforcement checks on the parents as soon as the new school requested the records from the old school. The school districts acted like they had to be consulted if parents moved, and some activist judges threatened the parents, and the Centralia School District actually tried to get the court to force the parents to move back.
Why?
Money.
See, having little Suzy's ass in the seat earns the school system money (or it did), but Little Suzy having chickenpox (not really a thing any more, thank God) didn't get the schools money, and people fleeing the economic collapse of the 1990's Centralia/Chehalis area sure as shit didn't put kids asses in the school for that paycheck.
Thankfully, though, they just imported a bunch of fucking Mexicans to put their kids in the seats, so everyone was happy.
But it was interesting as fuck to see CPS visiting my neighbor 3X in a week because his daughter had chickenpox, meanwhile no matter how often we called CPS about the kid wandering around in a diaper in October because his mom threw him out at dawn and sometimes he slept in the laundry room didn't merit a single fucking visit, not even when the kid vanished one day.
Edit:
The Becca Bill
Like that? TEN of what the school decides are "unexecused absences" in an entire are enough to trigger this bill and get the school all up in your shit. Notice that nobody gets legal representation until the child is threatened with confinement.
This shit was abused like a motherfucker in the 1990's.