To avoid the accident issue I tell/take the child to the bathroom at predetermined times. This just became part of our routine I also change all bums at the same time (unless we get a poopy one earlier!)