| My very similar pet peeve is about websites that use `onclick` handlers and similar to implement navigation. Just use a damn anchor tag, which gets you correct link behavior for free: * works with middle click for new tab * integrates with accessibility devices * works with right click + open in new window or similar options * etc. etc. etc. If it's notionally navigation, don't use javascript soup: use a link. |
To anyone reading who has tried to get fancy with a substitute for the <a> tag, I wish you mild discomfort and inconvenience.