phetsims / ph-scale

"pH Scale" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/ph-scale
GNU General Public License v3.0
0 stars 7 forks source link

Revisit alt input for pH probe in the Macro screen. #292

Open pixelzoom opened 1 week ago

pixelzoom commented 1 week ago

In Slack#description-tooling, @terracoda said:

Regarding Alt Input for pHS + pHSB we need to also do the Probe, not just the Eye Dropper. While the probe currently has Alternative Input, it was never decided if a single-step or two-step grab was the ideal for the interaction, and I want to know if PhET has a floating probe design or a floating probe option because for non-visual access a floating probe could be ideal - your probe is in the beaker or out of the beaker.

pixelzoom commented 1 week ago

it was never decided if a single-step or two-step grab was the ideal for the interaction

When we added alt input to this sim, it was decided that a single-step grab was appropriate for interaction with the pH probe in the Macro screen. That is what we have been doing as a general rule in sims that do not have description, with the expectation that it will be revisited at a point in the future when description is added. Since we’re now adding description, it sounds like the time has come to revisit.

If we change to 2-step grab, this will involve adding keyboard help for the pH probe.

pixelzoom commented 1 week ago

Since ph-scale has multiple probes... It's my understanding that @terracoda is referring to this pH probe in the Macro screen:

screenshot_3483
terracoda commented 1 week ago

@pixelzoom, apologies for my strong language. Yes, single step grab okay for Alt Input, and my guess is that a two-step grab will support a wider audience of learners better now that we are adding description.

Thanks for pointing out that pH Scale has multiple probes, but I think the pH probe is the only draggable one.

While reviewing the sim with @arouinfar and @Nancy-Salpepi, we see the benefits of a non-floatable probe. A learner can place the probe at a few useful places:

We'll be considering shortcuts for these positions.

Until then, @pixelzoom is it possible for you to implement the two-step drag from common code, and to consult with @jessegreenberg if needed? And note that the grab help text is platform specific:

Platform-specific help text:

Alternative Input (Keyboard):

Mobile IOS

terracoda commented 1 week ago

Assigning to @pixelzoom for comment and/or implementation.