Skip to content
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

ParallelDOM.js uses at least 8 different names for "primary sibling" #1231

Open
pixelzoom opened this issue May 29, 2021 · 1 comment
Open

Comments

@pixelzoom
Copy link
Contributor

pixelzoom commented May 29, 2021

In ParallelDOM.js, there's a nice description of "primary sibling":

The api in this trait allows you to add additional structure to the accessible DOM content if necessary. Each node
 * can have multiple DOM Elements associated with it. A Node can have a label DOM element, and a description DOM element.
 * These are called siblings. The Node's direct DOM element (the DOM element you create with the `tagName` option)
 * is called the "primary sibling." You can also have a container parent DOM element that surrounds all of these

Good definition, nice simple concise term.

Then ParallelDOM.js uses no less than 8 other names for "primary sibling":

primary sibling DOM element
primary element
primary DOM element
primary dom element
primary sibling element
primary sibling in the PDOM
primary sibling DOM Element
primary sibling of the PDOMPeers

Are these indeed all the same things?
Can "primary sibling" be used everywhere, to make this less confusing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants