W3C home > Mailing lists > Public > www-svg@w3.org > January 2014

[svg2] tabindex and defaults

From: Erik Dahlström <ed@opera.com>
Date: Mon, 27 Jan 2014 17:21:34 +0100
Cc: "Richard Schwerdtfeger" <schwer@us.ibm.com>
To: "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <op.xacs180jdhsuf5@gnorps>

I was reviewing the sections related to tabindex in SVG2 and have a few  

1) we seem to be duplicating some spec text:
(last sentence in the paragraph)

I'd suggest removing the sentence in the interaction chapter, but a link  
 from there to the IDL might be a good idea.

2) in the algorithm to determine if an element has a "tabindex focus  
it's said that "The a element that has an xlink:href attribute must have  
the tabindex focus flag set.".

I'd like to see this apply to any elements that have a { focusin,  
focusout, focus, blur, click, keydown, keypress, keyup } event listener  
also. Suggested spec text "Elements that have an event listener registered  
on one of the following user interface events: focusin, focusout, focus,  
blur, click, keydown, keypress and keyup must have the tabindex focus flag  
set.". I'm not 100% sure that the keyboard events should be included  

And additionally "Elements that are the target of an animation whose begin  
or end lists include an eventbase timing specifier triggered by the  
following user interface events: focusin, focusout, focus, blur, click.".  
I've intentionally left the keyboard events off here, due to that needing  
further spec changes to work in that context anyway.

The above is essentially what SVG Tiny 1.2 states for focusable=auto,  

3) in the "being renderered" defintion, <defs> and other invisible  
elements, e.g all the animation elements should be explicitly listed. Also  
"some equivalent in other styling languages." is rather vague, and I'd not  
consider SVG a "styling language". Vague statements make it harder to test.

4) I'd suggest moving the "being rendered" definition into the  
https://svgwg.org/svg2-draft/intro.html#Definitions section.

Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Received on Monday, 27 January 2014 16:22:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:50 UTC