Rabies transmission via barking
Between 1956 and 1977, 4 human cases of rabies virus infection were
  attributed to aerosolized rabies virus;


Possible but very rare. 

https://academic.oup.com/jid/article/195/8/1144/816583