I don't think this is true of the UK. I couldn't buy contact lenses without a contact lens prescription. That might be because i'm astigmatic and wanted toric lenses, but i didn't think so. I can buy glasses online, and there's a note that says i must have a current prescription to do that; i doubt they check, but the principle is there.
Oh, and eye tests aren't usually free. They are cheap, though, around £25. There are free eye tests for children, people over 60, diabetics, people with various chronic eye disorders, and prisoners on parole (!). Also, if you buy glasses from the optician who gave you the test, they will usually credit the cost of the test towards the price of the glasses, so it sort of works out free (except you have to buy overpriced high street glasses rather than cheap internet ones).
This doesn't seem like a bad rule, to be honest. Glasses and contact lenses are medical devices. They're important to their wearer, and to the safety of people around them if they drive a car etc. Eye tests are cheap and easily available. The article's take earns a "this ain't it, chief" from me.