{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/scenery/issues/384","repository_url":"https://api.github.com/repos/phetsims/scenery","labels_url":"https://api.github.com/repos/phetsims/scenery/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/scenery/issues/384/comments","events_url":"https://api.github.com/repos/phetsims/scenery/issues/384/events","html_url":"https://github.com/phetsims/scenery/issues/384","id":57565685,"number":384,"title":"One possibility for DOM","user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2015-02-13T06:44:51Z","updated_at":"2016-12-05T19:52:22Z","closed_at":"2016-12-05T19:52:22Z","body":"In order to maximize support for existing assistive technology, I think we will have to create and maintain a parallel DOM tree to match the drawable tree.  I was considering using scenery's built-in DOM renderer to make this possible.  Perhaps like this:\n1. The simulation starts up normally, rendering in SVG or WebGL\n2. The user presses tab\n3. Joist creates a new scenery.Display with `renderer:'dom'` which is hidden (shown behind the normal display).  This layer is made of DOM elements and provides screen reader support (and perhaps focus support).  Sun components would override createDOMDrawable to return dom elements that are specific for each type of data.  For instance, sun.CheckBox would create a `<checkbox>` dom element.\n\nAlternative approaches are:\na. create our own support for screen readers using live regions (currently the hack that is in place)\nb. create custom scenery code that only creates DOM elements for focusable nodes and has custom handling for creation of the parallel dom tree (or dom list if not nested)\n\nI'm interested in testing out the proposed idea, but @jonathanolson probably has lots of great thoughts about pros and cons.  @jonathanolson can we discuss it?\n"},"comment":{"url":"https://api.github.com/repos/phetsims/scenery/issues/comments/264958128","html_url":"https://github.com/phetsims/scenery/issues/384#issuecomment-264958128","issue_url":"https://api.github.com/repos/phetsims/scenery/issues/384","id":264958128,"user":{"login":"jonathanolson","id":480878,"avatar_url":"https://avatars.githubusercontent.com/u/480878?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanolson","html_url":"https://github.com/jonathanolson","followers_url":"https://api.github.com/users/jonathanolson/followers","following_url":"https://api.github.com/users/jonathanolson/following{/other_user}","gists_url":"https://api.github.com/users/jonathanolson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanolson/subscriptions","organizations_url":"https://api.github.com/users/jonathanolson/orgs","repos_url":"https://api.github.com/users/jonathanolson/repos","events_url":"https://api.github.com/users/jonathanolson/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanolson/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T19:52:22Z","updated_at":"2016-12-05T19:52:22Z","body":"I think it can be closed. Thanks!"}}
{"actor":{"display_login":"jonathanolson"}}