Thanks for writing.
We do not see HIV passed through ankle sores. If you have an open sore on your genitals, then that could be a risk for HIV. However, the chance of any HIV-positive blood or sexual fluids coming in contact with your ankle sore is very, very low.
We would not recommend HIV testing if this ankle sore if your only risk factor for HIV. HIV does not live long outside the body, and dies within seconds. HIV is not transmitted through air.
We would recommend HIV testing if you have had any recent sexual activity that involving your ankle, and/or exposed your ankle to directly to another perosn’s sexual fluids or blood.
Hope this helps. Please feel free to submit another question as needed.