The researchers said it makes sense that walking speed could be linked to diabetes risk.