Negotiating traffic requires the ability to focus attention on the traffic environment and ignore distracting stimuli. The aims of this study were (1) to examine the effect of distractors on children's ability to identify safe and dangerous road-crossing sites and (2) to examine the relationship between identification of safe/dangerous sites and attention (selective attention, attention switching, sustained attention and divided attention). Participants were 88 children (aged between 6 and 11 years) and 29 adults. Ability to identify safe and dangerous road-crossing sites was assessed using computer presentations of sites with and without visual and auditory distractions. Measures of attention were examined using the Test of Everyday Attention (child and adult versions). The ability to identify safe and dangerous road-crossing sites and performance on the attention tests were found to improve with increasing age. Correct identification of safe/dangerous road-crossing sites was related to selective attention and divided attention for children but not for adults. Road safety training should take into account the development of these skills. Copyright © 2007 John Wiley & Sons, Ltd.