In medicine, the transmission of diseases can occur through direct contact or indirect contact. In the case of indirect contact, this occurs if the virus or pathogen is in water, objects, air or similar and you enter in contact with it. This means you do not have direct contact with the person transmitting the pathogen.
On the other hand, direct contact occurs there is physical contact between you and the person with the illness including fluids or blood of this person. According to this, it is true, that if you contract a contagious illness by coming in contact with infected blood then there is a contraction through direct contact.