Which has already been covered in that if this is an attack from some predator whatever might attract them in this sense could be anything. I still don't see any relevant point to what is worn on this context, especially given Floo's phrasing.
I'm not sure Floo's point was just based on attacks - Floo said sexual assault or harassment. As harassment is very subjective - if you don't mind the comments you don't feel harassed - base don my experience if I wear a sexy black dress I get far more notice, attention and comments than when I am in jeans and a shirt or in a dress that is not sexy.
For the dress to be considered sexy it needs to be revealing, so when I wore a long black clingy dress with a slit up to half way up my thigh and heels that elongated my legs and the top part of the dress was strappy and moderately low cut I had a guy who has seen me in jeans on many occasions and acted like he did not see me in a sexual way, telling me how he would like to lick champagne off part of my anatomy, even though he knew I was going out with the person who went on to become my husband and who was his friend. He apologised to me the next day and said he had been drinking and would never have said it if he had been sober, which was what I figured at the time so I hadn't taken offence.
If I want attention - black, clingy, revealing dresses and heels work.
I think the way I would reason it is if predators are men, and men are more attracted to black, clingy, revealing - then it seems likely that that choice of clothing will attract more attention from predators.
it doesn't mean that not dressing that way will guarantee safety for the reasons already stated, but the more you get noticed the more someone may perceive you as a target, and the way you dress is just one way of getting noticed.