←back to thread

Just use a button

(gomakethings.com)
284 points moebrowne | 2 comments | | HN request time: 0.479s | source
Show context
donatj ◴[] No.45775305[source]
I would love to see this expanded into "Just use the HTML element that was built for that explicit purpose". I feel like your average SPA developer doesn't understand what even a quarter of the HTML elements are meant for and just reinvent the wheel every time.
replies(4): >>45776392 #>>45776404 #>>45776974 #>>45777884 #
jay_kyburz ◴[] No.45776974[source]
I vaguely remember, back in 2010, when I wrote my app, you couldn't style a button consistently across all browsers. They were grey boxes in firebox, or used other OS standard styling.

We had to invent our own buttons if we wanted it to look the same everywhere. I could be wrong though.

replies(3): >>45777268 #>>45777668 #>>45777835 #
1. tomwheeler ◴[] No.45777268[source]
> I vaguely remember, back in 2010, when I wrote my app, you couldn't style a button consistently across all browsers. They were grey boxes in firebox, or used other OS standard styling.

I'm sure I'll trigger a lot of designers by saying this, but I'm probably not alone in valuing basic usability FAR above styling. I much rather have an ugly button that looks like 90's era Tcl/TK than something pretty that doesn't behave like I expect it to.

replies(1): >>45778302 #
2. jay_kyburz ◴[] No.45778302[source]
At the time we were trying to get away from Flash and embrace HTML5. We would never have been able to compete against nice looking flash games with un-styled grey boxes.