W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] hit regions: limited set of elements for fallback content

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 18 Feb 2014 19:39:31 +0000 (UTC)
To: Rik Cabanier <cabanier@gmail.com>
Message-ID: <alpine.DEB.2.00.1402181929560.31525@ps20323.dreamhostps.com>
Cc: Dominic Mazzoni <dmazzoni@google.com>, "whatwg@whatwg.org" <whatwg@whatwg.org>
On Tue, 18 Feb 2014, Rik Cabanier wrote:
> >
> > Why would you use a <canvas> for a cross-word puzzle, rather than a 
> > <table>?
> 
> Because it is easier to code a nice interface.
> See this Google doodle:
> http://www.google.com/logos/2013/crossword/crossword13.html
> 
> It's fully keyboard navigable but inaccessible since the grid is drawn with
> canvas.

I don't see anything there that really needs <canvas>. In fact, it seems 
like it would be substantially easier to implement without <canvas>.

But it is a good example of why we need to answer the questions in my last 
e-mail before we can properly support it:

> > What happens if the user navigates the table with their AT and moves the
> > AT focus to the fourth cell?
> >
> > It's not focusable, but do we still need to be telling the AT where the
> > cell is?
> >
> > What happens if we haven't told it where the cell is?
> >
> > Where is the keyboard focus while the AT focus is on the black cell?
> >
> > Imagine the crossword is so large that it doesn't fit on the canvas, and
> > so the script scrolls the canvas around as the user tabs from cell to
> > cell. Now what happens when the user moves AT focus to a black cell that
> > isn't currently being rendered? Do we have some way to find out that a
> > region is being AT focused?
> >
> > What happens if the keyboard focus and the AT focus get so far from each
> > other that we can't render both at the same time? Which should we be
> > rendering?
> >
> > How do native apps handle these cases?

This example actually adds more questions:

How do we handle the multiple focus case? (There's focus in the crossword 
and in the clue list at the same time.)

Do we expose the way each cell can be focused in two different directions?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 18 February 2014 19:40:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:16 UTC