tabindex in SVG2 (was: Re: id's in the SVG2 spec)

[Changed subject line, since this was originally about the presence of 
IDs in the spec itself, not IDs and focusability of SVG content.  Also 
moved the discussion to www-svg@w3.org, where we should have technical 
discussions.]

Richard Schwerdtfeger:
> One of the things we will need to add in SVG2 is tabindex for keyboard
> navigation so that we can have a consistent keyboard navigation model
> between HTML and SVG. In HTML all elements with the body that are
> visible support a tabindex.

Yes.  I think this comes under the "Have a solution for specifying 
focusability and navigation order, and be consistent with HTML" item in 
http://www.w3.org/Graphics/SVG/WG/wiki/SVG2_Requirements_Commitments. 
We don't have anyone signed up for it yet though.

I don't think it would be much work to add tabindex="" to the spec. 
There is also focus() and blur() on HTMLElement that we would probably 
also want to support.  I wonder what would make the most sense out of

   (a) moving the tabIndex, focus and blur interface members up to
       Element so that SVG would get them for free,

   (b) asking Ian to split out these three members into a separate
       interfaces so that we could say for example

         SVGElement implements FocusControl;

       in our IDL, or

   (c) just duplicating those three interface members on SVGElement.

Received on Sunday, 29 July 2012 22:56:16 UTC