One might attach to a toddler's backpack (5)
I believe the answer is:
leash
(Other definitions for leash that I've seen before include "Rope or chain restraint" , "Strip for leading, a dog say" , "A dog walker may use it" , "Animal restraint" , "Line for controlling a dog" .)