-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename "Parallel DOM" to "Accessibility DOM Subtree" or "Semantic DOM Subtree" #101
Comments
just tagging @emily-phet. |
The term, Parallel DOM has been in use with our project for a full 3 years now. The Parallel DOM offers a parallel experience. It is robust and interactive and conceptually (added), it is not subordinate to anything or embedded inside anything. It's structure and content is fully exposed to assistive technology. I do not think "subtree" fully describes the power of the PDOM. The "Accessibilty Tree" is something different. |
I understand your objection to "subtree", but I don't understand why the word "Parallel" would be preferable to "Semantic" or "Accessible", which are inherently more descriptive and meaningful. |
Thinking about this more, I think "Parallel DOM" is a good description of what this is technically and works well in the accessibility community. While the browser only creates one DOM, thinking of subtrees of HTML as a separate DOMs is common. One example is the "Shadow DOM" specification. Another is the "Sub DOM" recommendation for accessible fallback content in a canvas. The "Parallel DOM" is an alternative to "Sub DOM", where instead of "Sub"/"Fallback" DOM content inside the graphical elements, we create "Parallel" DOM content that is parallel do the graphical elements. I worry that calling it "sub" tree/DOM will be overloaded and make it seem less novel. We met another group that used a similar solution for accessibility, they called it the "UpsideDOM". When presenting to others we haven't seen this as a point of confusion so I think we will lose more than we will gain by renaming. |
I haven't heard any arguments against "Semantic DOM" or "Accessible DOM" yet. The argument for using "parallel DOM" as an alternative to "sub DOM" makes the most sense to me of all the arguments in this thread. But referring to it as the "Parallel DOM" still gives a sense that the "main" or "primary" DOM is the graphical one, and the semantic DOM is "parallel" to the primary DOM. Wouldn't it be better to think of the semantic DOM as the primary one, and the graphical DOM as "parallel" to it? It's fine with me if "Parallel DOM" is indeed the best name--I just wanted to rule out the possibility that we chose it somewhat arbitrarily and never took the time to think it through and change it (if necessary). |
Seconding @terracoda and @jessegreenberg - there are reasons to avoid some of the suggested alternatives, we've not had any difficulty with people misunderstanding our current use of Parallel DOM (after extensive use for years and wide discussions across diverse groups), and additionally, we've already published about this approach using the current name. I don't think anyone is arguing this is the 'best' name, but it has historical use, is better than many, and would indeed likely cause more confusion than provide benefit in certainly the short term and possibly the long term. So, let's stick with what "Parallel DOM". |
From the slack dev-public channel today: Chris Malley 11:27 AM
Jesse Greenberg 11:32 AM
Chris Malley 11:32 AM
Jesse Greenberg 11:32 AM
Michael Kauzmann 11:33 AM
Chris Malley 11:34 AM
Michael Kauzmann 11:34 AM
Jesse Greenberg 11:34 AM
Chris Malley 11:41 AM
Sam Reid 11:41 AM
Chris Malley 11:41 AM
Sam Reid 11:43 AM
Chris Malley 11:44 AM
|
The above Slack discussion was in the context of which prefix to add to PDOM-specific Nodes that have been added to |
An important thing to understand from a user experience perspective is that this beautiful piece of architecture - no matter how it is implemented - provides a parallel experience for learners who access it! The interactive modalities are delivered in parallel. I feel that this parallel-ness is what makes this architecture so innovative! Edited for clarity after posting. |
@samreid and @pixelzoom, I have had comments like, "Am I using the same sim as a visual student would use?" We can proudly say yes to this question! |
No question about the value of the end result or parallel-ness of the experience, great stuff. Just pointing out some warts on the technical side of things -- namely the dissonance with standard HTML terminology, and "parallel" can be related to things other than accessibility. |
Everyone on the PhET team is familiar with the term "Parallel DOM" also shortened as "pDOM", but this term could be confusing or misleading for newcomers or outside groups. Parallel DOM gives the impression that it is a complete Document Object Model, or somehow outside of the DOM, which is inaccurate. It also raises the question of what it is parallel to and doesn't give any indication what it is for (in a sense the graphics subtree is also a "parallel DOM" in that it is parallel to the accessibility subtree). In the documentation https://bayes.colorado.edu/dev/accessibility/accessibility-challenges.html#parallel-dom it is also referred to as an "Accessibility Tree". The DOM specification uses the term "subtree" for that kind of thing, so that seems an appropriate term: https://dom.spec.whatwg.org/
In order to be more clear in the future, we should transition to using a more specific and accurate phrase, such as
I know the phrase "Parallel DOM" is already propagated to several places, including publications and it will be difficult to change, but it will be even more difficult to change if we wait.
Regarding naming it "Semantic" vs "Accessibility", I'm not sure which is preferable: the former is a better description of what it is and somewhat more general, the latter is a description of what we intend it to be used for.
The text was updated successfully, but these errors were encountered: