W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] keyboard behaviour inside of editable area

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 12 Oct 2009 07:04:20 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0910120702380.25383@hixie.dreamhostps.com>
On Thu, 8 Oct 2009, Alexander Surkov wrote:
> 
> The suggestion is to treat control element as special character, i.e. 
> when you move through the text by arrow keys and control element is met 
> then control element should be focused and its selection should be 
> changed appropriately. When control has the focus then keyboard 
> behaviour is defined by control preferences with once exception. If 
> particular navigation key isn't processed by control or doesn't have any 
> defined action then editor rules are applied.

This seems reasonable (though I'd prefer to study it in a usability lab 
before making a stronger statement), but it also seems like an 
implementation detail -- there's nothing that really requires that the 
user agent even support arrow keys, let alone that they work in a 
particular way.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 12 October 2009 00:04:20 UTC

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