Things I Hate #2 — Fake Links

2 · Kevin Cox · Aug. 19, 2021, 12:44 a.m.
It is a common frustration to be using a website and encounter a link-like UI element that isn’t a real <a> (anchor) tag. Instead it is a <div> or a <span> that the developer has attached an onclick listener to. They have poorly reimplemented the most fundamental UI element on the web.What is wrong?It takes you to the target when you click on it, they were even kind enough to underline it so that you recognize it as a link! What more could I possibly want‽What is wrong is that <a> is a subtly ri...