"Sorry about your ankle!"
Translation:Désolé pour ta cheville !
Cheville is a feminine noun. You must use the correct corresponding possessive pronoun with that.
Ton is masculine and thus you would use it with masculine nouns. Ton cœur or ton os.
Votre is also correct.