Starten Website einreichen
Please don’t mess with links

Please don’t mess with links

maurycyz.comDR 46 Accessible 300 views

Entwicklung & Programmierung A short essay on why real hyperlinks matter: they can be opened in new tabs, copied, bookmarked, and read by search engines and screen readers, unlike JavaScript buttons or popups.

No rating yet; write the first review

Editor's Review

For reference only
Please don’t mess with links page preview

The piece is a concise, opinionated argument rather than a tutorial, using concrete browser behaviors (ctrl-click, alt-click, hover preview, keyboard tabbing) to show what button-based navigation breaks. It suits front-end developers and accessibility-minded designers who need a quick, quotable case

Site introduction

This page is a personal blog post arguing that web developers should stop replacing ordinary hyperlinks with JavaScript-driven buttons or popup triggers. It is published on Maurycy Z.’s personal site, alongside sections on astrophotography and yearly archives.

The core argument is that a real link supports a wide range of user behaviors that a button does not: opening in a new tab or window, saving as a file, copying the URL, activating via keyboard, being indexed by search engines, and being announced by screen readers. The author also notes that even when a real link is used, attaching a click handler that opens a popup breaks loading progress, cancellation, error pages, and multi-tab workflows.

The post is aimed at front-end developers, accessibility advocates, and anyone who maintains navigation on a website. It is especially relevant to teams deciding between anchor elements and JavaScript click handlers for menus, cards, or external links.

Readers should treat it as a design principle rather than a technical specification: it explains why native links are more robust and consistent, but does not provide code samples or migration steps. The closing point is that links behave predictably across browsers and assistive tools, while imitation buttons often leave users unable to close what they opened.

Comments & Ratings

0

No comments yet. Be the first to review.

Write the first comment

Your email won't be made public; fields marked with * are required.

Rate this site

Click the stars to rate; rating is optional, and clicking the selected star again cancels it.