HeadlinesBriefing favicon HeadlinesBriefing.com

Reinventing Browser Features: A Web Design Warning

Hacker News •
×

Susam Pal extends the "don't roll your own crypto" warning to web design, arguing developers routinely rebuild browser-native features with worse results. Custom scrollbars break mouse and keyboard input. GitHub's link handling wraps clicks in heavy JavaScript, making navigation slower than opening a new tab. Password fields lose autofill and accessibility support when replaced.

Pal walks through a list of features browsers already handle well: scrolling, link navigation, text selection, copy-paste, and date picking. Overriding these patterns forces users to relearn interactions on every site. He notes date picker implementations vary wildly, with some requiring dozens of clicks to select a year. Leaving <input type="date"> intact with custom widgets alongside it would serve users better.

His core point stands: stop rebuilding form controls that browsers handle natively. Custom implementations almost always introduce new problems while solving old ones, and the cost falls on users who must relearn familiar interactions on every site they visit.