4 ms·
well, limiting it to just click events won't work if you navigate using the keyboard, or voice commands.
by thayne 6y ago
well, limiting it to just click events won't work if you navigate using the keyboard, or voice commands.
- laszlokorte 6y agoWell as you can say the same for popup windows which should work for keyboard navigation and voice commands as well, I assume there is a defined class of events that count as active user interaction and I assume that onload, mousemove and onresize do not fall in that category but click, keypress do. Anyway if you focus a button and press it by hitting the spacebar or enter key a javascript click event is triggered as well. So even if you would limit it to click events I guess it would for a large portion of keyboard navigation as well.
- avianlyric 6y agoI think it’s reasonable to assume that’s GP meant any user interaction. Reminder from the HackerNews guidelines > Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.