News for hackers. Stuff that matters.
Re:Buttons as Finite Automata by blamestross on Thursday March 24, 2022 @11:24AM (#30791196)
Its all fun and games until somebody managed to click on your button without hovering first.
Re:Buttons as Finite Automata by progval on Thursday March 24, 2022 @11:38AM (#30791390)
I see two ways to do that:

1. keyboard navigation (Enter and space are ignored)

2. hover, then F5 to reload the page (this resets the state, and you get your cursor on the button without a state transition)

presses are completely ignored either way

Re:Buttons as Finite Automata by topspin on Thursday March 24, 2022 @01:28PM (#30792914)
3. $('#ohhai').click()
Re:Buttons as Finite Automata by crate_barre on Thursday March 24, 2022 @11:38AM (#30791397)
So, any browser testing suites/runners :p