My 2007 Hyndai Elantra makes a screeching noise that stops when the brakes are applied.
It is caused by the "sounders" on the brake pads, if they are set properly they start making noise when it is time to change the brake pads before any damage is done to the brake rotors.
Change thebrake pads soon or you will change the rotors too.
Search Hyundai Elantra Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Hyundai Elantra Experts