You'll probably find that she's distracted with something when she accidents! I wouldn't be concerned about it just keep reminding her to go to the toilet! Medically she could have a urine infection but it sounds more like shes distracted to me! If your worried you can always see your gp to rule out anything medical!
Best of luck!
Snoopea