I think it's constructive to tell them their site is broken (which I also agree that it is[1]). However, you are also right that your parent was unnecessarily condescending.
[1] There are billions of links which are just plain <a href="X"></a>, so the fraction of the ones that do something weird (like this, or target="_blank") really break the browsing experience for people.