<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
On Mon, 2010-06-14 at 15:58 -0400, Gordon P. Hemsley wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
For what it's worth, I am actually of the opposite opinion, Ash.<BR>
<BR>
I like it when Flash steals the focus of the keyboard, and here's why: Besides the arrow keys, which are available to everyone, I also use the "Find As You Type" feature in Firefox. However, that usually means that I can't play any HTML5 games that use letters as play keys. Because the HTML5 game usually doesn't steal the focus of the keyboard, typing a letter key activates the FAYT feature and distracts me from the game.<BR>
<BR>
With that being said, Bespin (from Mozilla Labs) uses <canvas>, and it has no problem stealing the keyboard focus (with JavaScript) for most keypresses.<BR>
<BR>
Gordon<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
2010/6/14 Ashley Sheridan <<A HREF="mailto:ash@ashleysheridan.co.uk">ash@ashleysheridan.co.uk</A>>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
On Mon, 2010-06-14 at 13:38 -0600, Carlos Andrés Solís wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hello! I've been noticing a problem in many HTML5 test apps, very especially games. When the directional arrow buttons are pressed, the screen scrolls. This is a problem that, as far as I know, Flash had solved by changing the focus of the application to the app. Is this doable in HTML5?<BR>
- Carlos Solís<BR>
</BLOCKQUOTE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
I don't think it's something that was 'solved' by Flash. To be honest, I'm often annoyed at the way Flash steals the focus of all my key presses making it almost impossible to navigate using only the keyboard.<BR>
<BR>
You could use Javascript to put the focus onto an object, capture all the key presses on that and return false for them all maybe.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
<BR>
-- <BR>
Gordon P. Hemsley<BR>
<A HREF="mailto:me@gphemsley.org">me@gphemsley.org</A><BR>
<A HREF="http://gphemsley.org/">http://gphemsley.org/</A> • <A HREF="http://gphemsley.org/blog/">http://gphemsley.org/blog/</A><BR>
<A HREF="http://sasha.sourceforge.net/">http://sasha.sourceforge.net/</A> • <A HREF="http://www.yoursasha.com/">http://www.yoursasha.com/</A><BR>
</BLOCKQUOTE>
<BR>
It's not that I have it in for Flash, but I feel it's not the most accessibility friendly of things you find on the web.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Thanks,<BR>
Ash<BR>
<A HREF="http://www.ashleysheridan.co.uk">http://www.ashleysheridan.co.uk</A><BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>