You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From phetsims/scenery-phet#880, I found that accessibleNameBehavior only works if you specify a tagName.
For many use cases, accessibleNameBehavior will be useful for forwarding the accessibleName to a subcomponent, where the parent component should not have any PDOM content.
If accessibleNameBehavior can work without a tagName it will save the PDOM from having lots of extra divs and developers from spending time trying to figure out why accessibleNameBehavior isn't working.
The text was updated successfully, but these errors were encountered:
This change is too large, so I am going to close. Instead, I made some helper functions for forwarding the accessible Name and using those will set a default tagName, see #1665. Closing.
From phetsims/scenery-phet#880, I found that accessibleNameBehavior only works if you specify a tagName.
For many use cases,
accessibleNameBehavior
will be useful for forwarding theaccessibleName
to a subcomponent, where the parent component should not have any PDOM content.If accessibleNameBehavior can work without a
tagName
it will save the PDOM from having lots of extra divs and developers from spending time trying to figure out whyaccessibleNameBehavior
isn't working.The text was updated successfully, but these errors were encountered: