W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2008

[whatwg] Should enter be mapped to click?

From: Aaron Leventhal <aaronlev@moonset.net>
Date: Mon, 14 Jul 2008 11:03:23 +0200
Message-ID: <487B165B.4000902@moonset.net>
Now that tabindex can be used on any element to make it focusable, it makes
sense that it should be possible to trigger a click on those elements with the

Opera maps Enter to click. As far as I know, other browsers only do that for a few elements like<a>.

What do people think? Should it be spec'd?
At least the spec should say what elements map enter to click now. Except for perhaps<textarea>  and a few form controls, I don't see why some should and others not, though. Maybe it should be a blacklist?

- Aaron
Received on Monday, 14 July 2008 02:03:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC