Re: [svg2] tabindex and defaults

On Mon, Mar 31, 2014 at 9:43 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Rik Cabanier:
> > A difference with the HTML spec is that tabIndex is allowed on any
> element.
>
> Hmm, did we not decide to allow tabindex="" on every element in SVG?
>
> Is the question what value SVGElement.tabIndex should have on elements
> that we've said the tabindex="" attribute doesn't apply to?
>
> If we are indeed saying that tabindex="" is only available on some
> elements, then perhaps the IDL attribute should be on the interfaces
> that correspond to the elements where we're allowing it.
>
> But as I say, I think we should allow tabindex="" on any element.  I
> don't know why this should be any different from HTML.


OK, the HTML recommends that only a set of elements has behavior when
tabindex is missing:
http://www.w3.org/html/wg/drafts/html/master/editing.html#the-tabindex-attribute
.There
is no MUST .

Still different than treating is as 0 though.


>

Received on Tuesday, 1 April 2014 05:42:24 UTC