K.A.
We weren't completely accident free until close to around 5 years old with both of my boys.
My third is 3 and nowhere near even being able to wear panties yet.
It's all about physical maturity and the connection of brain to bladder.
Some kids take longer to mature than others.