Re:Tab Closed; Didn't Read
by crazygringo on Monday November 25, 2013 @11:29PM
(#6799118)
I dunno... binding Esc to close lightboxes is pretty web-standard, and I'm very glad when it closes those annoying lightboxes too. Hunting for the tiny "x", which is often intentionally hard to find, gets tiring.
In fact, I had no idea Esc stopped page loads. Has that been a standard thing too? Although I must admit, stopping page loading is not something I hardly ever find myself doing...
> In fact, I had no idea Esc stopped page loads. Has that been a standard thing too?
Has been as long as I can remember. Not that I use it much anymore with fat pipes (in comparison to a 9600 baud modem) being commonplace.
Re:Tab Closed; Didn't Read
by Houshalter on Tuesday November 26, 2013 @03:35AM
(#6799952)
There is a lot of use in websites having shortcut keys though. For example using space to pause videos or the arrow keys to rewind. Not everything is optimal for the mouse.
Re:Tab Closed; Didn't Read
by wodenokoto on Tuesday November 26, 2013 @06:55AM
(#6800579)
esc stops page loading, not javascript execution. Gmail is essentially a javascript application.
Web developers should really stick to the accesskey event which accepts alphanumeric bindings, and nothing else. Anything outside of that is likely to be used by the browser. I mean, there are some obvious exceptions (C-b for bold in a WYSIWYG editor) but as a rule of thumb it should be avoided.