- From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
- Date: Tue, 9 Feb 2016 14:29:47 -0700
- To: Fred Esch <fesch@us.ibm.com>
- Cc: SVG-A11y TF <public-svg-a11y@w3.org>
- Message-ID: <CAFDDJ7ytMV9xV6cRro4n1J7+g7dupH_42bsmkT_MxT10j=D_gA@mail.gmail.com>
Hi Fred, This is the same issue as with tabindex, where these attributes are just universally added to all SVG elements regardless of whether they make any sense. The relevant section is here: https://svgwg.org/svg2-draft/interact.html#EventAttributes The tables in the Attribute Index are then automatically generated from that. I believe the argument for this approach is that it makes it easier to implement the DOM interfaces, if all these features can be just added to the Element interface that is shared by SVG and HTML. Unfortunately, it means that a basic validity checker tool is not going to identify these nonsensical uses of interactive attributes on non-rendered elements. You can add it to the list of concerns to bring up with the main SVG WG regarding the interactivity chapter. ~Amelia On 9 February 2016 at 13:43, Fred Esch <fesch@us.ibm.com> wrote: > All, > > I am looking at the Attribute Index > <https://svgwg.org/svg2-draft/attindex.html> for SVG 2. I noticed that in > the table, the *onclick* attribute can be placed on a number of elements > including hatch, hatchpath, linearGradient, mesh, meshpatch, meshrow, > metadata, radialGradient, script and switch. Interestingly many, of the > same elements can have drag events, ontoggle, onsubmit, mouse events, my > favorite onvolumenchange, ... onfocus and tabindex. Is the table in the > Attribute Index up to date? > > > Regards, > > Fred Esch > Watson, IBM, W3C Accessibility > [image: IBM Watson] Watson Release Management and Quality > >
Attachments
- image/gif attachment: 0F128566.gif
Received on Tuesday, 9 February 2016 21:30:16 UTC