California had the right idea - establish a standard way for a client to identify that the user isn't an adult (or you could do it the other way around, but that's less permissive), mandate that websites obey the flag, mandate that OSes include the feature and that browsers use it. In the end, anyone who owns a device can set their age group flag however they want it - it would be up to parents to make sure their children only use devices set the way they want. The parents could set their 8 year old's age group to whatever age group they want, and rest assured that websites would respect it.