Re: role=presentation must not be applied to focusable elements

On Thu, 23 Dec 2010, Maciej Stachowiak wrote:
> 
> HTML5 doesn't actually define the effect of being focusable. Is that 
> list the suggested list of things that should get focus when 
> mouse-clicked, or tapped on a touch device? Is it the set of things that 
> gets focus when you call their focus() method? Are these two sets 
> allowed to be different?

This is all defined in the spec (yes, yes, yes, and yes, respectively). 

The one thing that isn't defined is the most important part of focusing: 
that when something is focused, key events go there. However, this is just 
because the spec doesn't define key events in the first place.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Saturday, 25 December 2010 18:56:59 UTC