Can your dog's barking get you a ticket?

Should pet owners be held responsible?