-
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
supportsInteractiveHighlights: true
should be the default for sims that support alt input
#858
Comments
@jessegreenberg - Let me know what you think about CM's suggestion above. Thanks! |
Yes, I think this makes sense! Making this the default has a little more up front cost in enabling this for the ~25 sims that currently support alt input but do not yet support Interactive Highlights. Most will be trivial, but a few might take 15-30 minutes. @kathy-phet is that OK? Is this something you would like me to do or should I create issues for the responsible dev of each of these sims? |
Hey Jesse, |
This sounds wonderful! Having interactive highlights be forever forward coupled with alt input is indeed ideal! |
Yes - off by default unless you use the query parameter to start with it on - but available to turn on through the preferences dialog. The user testing that was done with low-vision non-screen reader users on GHE suggests that this would really help them. We are going to re-do the testing in GHE with the interactive highlights available and confirm. But it definitely seems like what they were wishing for in the user feedback reports. |
I got about halfway through the list of sims locally this afternoon, should have this finished soon. |
…ption is supported, see phetsims/joist#858
… has it enabled, see phetsims/joist#858
…w enabled by default, see phetsims/joist#858
This was done in the above commits and sims in perennial/ now support Interactive Highlights. Only exception are the CCK sims because alt input isn't really supported for those.
@kathy-phet would you like QA or someone from design to spot check new highlights in these sims? Would you like a developer to review any changes? |
@pixelzoom - Can you please review the code changes here? |
I can't get to reviewing this for a least a week - I'm on vacation. This seems like should be high priority to review, since it affects many sims, and PhET is in the process of re-releasing many sims. So @kathy-phet @jessegreenberg please assign someone else to review the code. |
@Kathy contacted me via Slack:
So I'll do the review, sometime during the week of October 17. |
Requirements are not described in this issue. And (at first glance), there are a lot of commits above. So to make this review so more smoothly... @jessegreenberg could you please summarize:
|
…w enabled by default, see phetsims/joist#858
Certainly,
|
This looks great, and is behaving as advertised. I tested Preferences and query parameter in pH Scale, but not other sims. A few suggestions/questions ...
export default class OpticalObjectNode extends InteractiveHighlighting( Node ) {
...
const options = optionize<OpticalObjectNodeOptions, SelfOptions, NodeOptions>()( {
// NodeOptions
tagName: 'div',
focusable: true, Should
Back to @jessegreenberg. |
Thank you for reviewing!
Currently it is matching the similar query parameters for extra sound and voicing
PhET is going to enable both at the same time by default, but these features are really different in how they behave and how they are added. I do not think of them as the same feature set. I think if someone is looking for info on "Interactive Highlights" they would first look for a quick start guide just about that feature (and likewise for alt input). I think the "quickstart" guides are most useful when short so I currently have a preference to keep them separate. To alternative-input-quickstart-guide.md I added
Combining these points because I see them as related. I think Interactive Highlighting less related to alt input and more related to mouse/touch input. I could see making scenery more responsible for this feature by automatically adding highlights for Nodes with a input listeners. I think almost every commit in this issue using
I think there are cases where it simplifies adding multiple sets of features to a component. It is sort of like multiple inheritance. There are also syntax advantages. For example, AmplitudeNumberDisplay.js - class AmplitudeNumberDisplay extends InteractiveHighlighting( VBox ) { The superclass is clear and you can easily see that AmplitudeNumberDisplay is in vertical layout. It also "inherits" the features of interactive highlighting. You could change the |
👍🏻 closing. |
From 9/15/2022 dev meeting notes, with notes by @jessegreenberg
PhET wants this added to all sims that support alt input. We are already indicating that alt input is supported via
supportsInteractiveDescription: true
in package.json. So why do we need to take the additional step of addingsupportsInteractiveHighlights: true
to PreferencesModel? Shouldn't that be the default for sims that support alt input?A correct default seems preferrable to having to revisit each sim and make a change.
The text was updated successfully, but these errors were encountered: