Some more examples - one worked up to be "accessible"

Hi,

A number of SVGs are in the W3C shadow dom spec  
<http://www.w3.org/TR/shadow-dom/>, so if there are improvements we can  
make to them, that would probably be *really* helpful.

They are basically all tree diagrams, although some have extra links that  
make them directed graphs rather than true trees. So figuring this out is  
probably going to be helpful.

I had a go at cleaning up the simplest example I found:

<http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/composed-tree.svg>

and made a version at

<http://svg-access-w3cg.github.io/use-case-examples/composed-tree.html>

that is an improvement. On Mac it is possible to navigate all the nodes  
with Yandex browser and VoiceOver, and after I made the labels much more  
explicitly redundant it sort of with works Firefox plus VoiceOver, but  
Safari crashes the page and reloads it. On Windows apparently the labeling  
apparently still doesn't work properly.

The navigation is broken all round. If aria-flowto worked we could fix  
that, but apparently it doesn't actually work anywhere as designed.

Other images that the working group uses:

http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/composition-composed-tree.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/composition-slotting.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/composition-tree-of-trees.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/distributions.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/event-path-composed-tree.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/event-path-trees.svg
http://w3c.github.io/webcomponents/publish/shadow/WD-shadow-dom-20151008/tree-of-trees.svg

cheers

Chaals

-- 
Charles McCathie Nevile - web standards - CTO Office, Yandex
  chaals@yandex-team.ru - - - Find more at http://yandex.com

Received on Tuesday, 6 October 2015 17:31:40 UTC