Why is HF considered a covalently bonded compound?
I don't think I've ever seen a reputable source claiming the bonds in HCl, HBr and HI are mainly ionic. The fact that they are all gasses at room temperature clearly suggests otherwise. HF has the most ionic character of all the hydrogen halides, but it too has a rather low boiling point (just below room temperature), which is uncharacteristic of ionic compounds.

It is best to think of all hydrogen halides as covalent polar molecules, with the polarity increasing in the order HI &lt; HBr &lt; HCl &lt; HF, as suggested by the electronegativity differences.