News for hackers. Stuff that matters.
Re:Sanding UI by selimco on Saturday September 21, 2024 @11:40PM (#41614466)
I think space is usually the key that performs a click on focused buttons, not enter.
Re:Sanding UI by two_handfuls on Sunday September 22, 2024 @12:57AM (#41614727)
I was talking about the default button (typically blue, activated with enter), not the currently focused button (outlined, space).
Re:Sanding UI by meindnoch on Sunday September 22, 2024 @05:00AM (#41615678)
It's up to the user agent. On one platform it's the spacebar, on another it's the return key. Of course, fake controls written in JS wouldn't be able to do this. Which is why it's the wrong thing to do.