←back to thread

Just use a button

(gomakethings.com)
284 points moebrowne | 3 comments | | HN request time: 0.421s | source
Show context
shreddit ◴[] No.45776205[source]
> You shouldn’t, though! Seriously, just don’t fuck with focus order.

And here i am, wishing some would do just this. Especially creators of log in forms which make the “reveal password” button the next focus point instead of the “submit” button

replies(1): >>45776496 #
1. culi ◴[] No.45776496[source]
is pressing tab twice instead of a single time really that big of an issue? Messing with focus order is definitely a bad idea, but they could also use less semantic html to skip the reveal password "button". For people who can only use keyboards, this would make it impossible to access that feature however
replies(2): >>45777732 #>>45778185 #
2. zahlman ◴[] No.45777732[source]
>is pressing tab twice instead of a single time really that big of an issue?

When you expect to press once, and end up doing the wrong thing because of that incorrect assumption, absolutely yes.

3. kgwxd ◴[] No.45778185[source]
Having to think about it, at all, is the annoying part. Thinking == Anxiety.