A 28-year-old woman faces court after allegedly attempting to detain two children, aged two and six, while walking her dog in Exmouth.