News for hackers. Stuff that matters.
Re:My First CSS by bibble on Monday July 26, 2021 @09:31AM (#27959111)
Why don't <button>'s default to: "cursor: pointer;"?
Re:My First CSS by lwigo on Monday July 26, 2021 @09:37AM (#27959171)
I think the answer has to do with calls to action and the assumption users make that the cursor hand is a link to another web page or another part of the site, while not all buttons are hyperlinks. Probably not as much of an argument in these days, though, especially as most sites are single page applications where basically every button does indeed do some sort of reroute, target blank (new tab), or network call at the very least.

Also, to be pedantic, not all buttons are entirely clickable, only small portions of them.

Edit: Interesting that HN doesn't use the cursor hand for reply / updating. ;)

Re:My First CSS by frosted-flakes on Monday July 26, 2021 @02:55PM (#27963654)
HN barely even uses CSS. It's all tables, straight out of 1999.
Re:My First CSS by frosted-flakes on Monday July 26, 2021 @02:56PM (#27963671)
Only links get the pointer cursor. Buttons are not links.