[whatwg] Accesskey in Web Forms 2

Ian Hickson wrote:

>On Mon, 6 Sep 2004, Derek Featherstone wrote:
>  
>
>>On 28 Aug 2004, Ian Hickson <mailto:ian at hixie.ch> wrote:
>>    
>>
>>>Say you're writing a game (www.voidwars.com, for instance).
>>>You want a shortcut for "show minimap", a shortcut for "just to research
>>>screen", a shortcut for "select next scout ship with no orders".
>>>
>>>How would the access attribute help?
>>>      
>>>
>>Actually, I think this would be a great case for where the access attribute
>>would be very useful. With current implementation of accesskey, the author
>>defines which access points are important (by adding an accesskey attribute)
>>and defines which key should be used (by specifying the accesskey value).
>>Neither the accesskey or the access points can be overridden.
>>    
>>
>
>Right, accesskey is a terrible solution for this problem.
>
>  
>
Surely accesskey is better; since the author knows what the key 
combination is in advance they can specify it in the game screen. With 
access one either has the browser randomly assigning key shortcuts, 
hence making the keys hard to discover or the user defining their own 
shortcuts, with no defaults, which is complex and so unlikely to be 
undertaken by many users.

Received on Wednesday, 17 November 2004 06:57:55 UTC