-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use accessibleName instead of innerContent. #875
Comments
Looks like the CloseButton change was pushed as part of work related to GrabDragInteraction: 4d7f8fb |
You should look for usages of
In general I think this issue is quite simple, you just need to overwrite |
Are we also going to have a similar issue in sun? |
@zepumph asked:
Yes. In the first comment, I said:
|
This issue overlaps with: |
Related to phetsims/models-of-the-hydrogen-atom#67 ...
I'm creating this issue in scenery-phet, but it's relevant to all places where accessibleName should be used.
I asked about the different between
innerContent
andaccessibleName
. @jessegreenberg replied in Slack#DM:There is current inconsistency in which API is used. Some common-code components are setting
innerContent
instead ofaccessibleName
. And this has been causing confusion while trying to implement accessible names in MOTHA phetsims/models-of-the-hydrogen-atom#67. @jessegreenberg and I think that we should be usingaccessibleName
(the higher-level API) whenever possible, which means changinginnerContent
toaccessibleName
.An incomplete list of examples:
The text was updated successfully, but these errors were encountered: