-
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
Screen descriptionContent
should use helpText
for consistency
#989
Comments
In phetsims/models-of-the-hydrogen-atom#73 (comment) @pixelzoom recommended - descriptionContent?: PDOMValueType | null;
+ // Help text that will be added to the Home screen button and navigation bar button for this screen.
+ screenButtonsHelpText?: PDOMValueType | null; |
@jessegreenberg When the API is changed, feel free to update MOTHA. I added 2 TODOs that link to this issue. |
OK, this is done. I updated usages, including the two in MOTHA and removed the TODOs. I also updated string keys under the Here is the main joist commit: e3366b8 with some cleanup in 07dea6d. @pixelzoom would you mind reviewing this? |
Yes, and that is a better default. Anything else for this? |
Looking good! In joist-strings_en.json: "home": {
"value": "Home"
},
"homeScreenDescription": {
"value": "Go to Home Screen."
},
"goToScreenPattern": {
"value": "Go to {{name}} Screen."
}, Should |
@pixelzoom and @jessegreenberg, I also like "Go to" as a default, and hopefully folks will design screen button help text that's more directly relevant. Great default, though! |
Thanks @terracoda, sounds good. Good point @pixelzoom, done in the above commit. Can you please review? |
Looks good, but I'm not sure if it's safe to totally remove a string from joist-strings_en.json ( |
Thanks for reviewing. It is safe to remove strings under the Closing. |
This option is used to set the help text of the home screen button for a particular screen
We should change it to use
helpText
to for better consistency as we move toward using "accessible name" and "help text" throughout code components.Came up while reviewing phetsims/models-of-the-hydrogen-atom#67 with @kathy-phet and @terracoda.
The text was updated successfully, but these errors were encountered: