For example, all devices could require your ZKP ID attestation to be usable unfiltered. Then the relevant apps/sites would be equally inaccessible to children. And then you remove the ZKP ID attestation because the device owner (parent, school, etc) already knows when the user is a child.
ZKP ID would work but that’s essentially deanonymization because you have to provide your ID to someone though no one has total information. Also just checking for its absence doesn’t work because that’s opt in and less than 5% of parents would do it. Every individual, irrespective of age would have to have a valid one.