W3C home > Mailing lists > Public > public-aria@w3.org > January 2016

Re: aria-ACTION-2007: Rewrite proposal to take into account that an img with source svg has no children and also to address the required owned elements

From: Joseph Scheuhammer <clown@alum.mit.edu>
Date: Thu, 21 Jan 2016 16:47:30 -0500
To: James Craig <jcraig@apple.com>, Richard Schwerdtfeger <schwer@us.ibm.com>
Cc: Accessible Rich Internet Applications Working Group <public-aria@w3.org>
Message-ID: <56A151F2.6080104@alum.mit.edu>
> An image with external src SVG does have children. If your browser does not support them, that should be filed as a browser bug. See correct behavior in Safari/WebKit.

There may be confusion here about what "children" means here. During the 
meeting, Fred said that an <img src="svg"> does not produce DOM children 
of the <img> element.

To confirm, I tried the following with FF, Safari, and Chrome. and their 
respective DOM inspector tools. There is an <img> element in the DOM for 
each of the svg palm trees, but those <img> elements do not have DOM 


Also, the HTML spec for the <img> elements states that it has an empty 
content model [1], making <img> a leaf node.



'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -
Received on Thursday, 21 January 2016 21:48:04 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:23:18 UTC