[whatwg] Fullscreen and keyboard focus.

2011-11-28 Thread João Eiras


Hi.

Perhaps keyboard focus should be limited only to the fullscreen element or  
its descendants.


If you have a canvas or video fullscreen, alt-tabbing can move the focus  
outside the fullscreen element, say into form elements.


But then this would require giving focus, and dispatching focus events, if  
the focused element is not inside the fullscreen element subtree.


Re: [whatwg] Fullscreen and keyboard focus.

2011-11-28 Thread Jeremy Apthorp
On Tue, Nov 29, 2011 at 6:25 AM, João Eiras jo...@opera.com wrote:


 Hi.

 Perhaps keyboard focus should be limited only to the fullscreen element or
 its descendants.

 If you have a canvas or video fullscreen, alt-tabbing can move the focus
 outside the fullscreen element, say into form elements.

 But then this would require giving focus, and dispatching focus events, if
 the focused element is not inside the fullscreen element subtree.


I agree.

(There's a WebKit bug for this:
https://bugs.webkit.org/show_bug.cgi?id=69698)