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.
[ Parent
| on HN ]
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
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