-
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
Do we need "Voice" as part of the voicing combo box interaction in Preferences menu? #813
Comments
Can the "Voice" label be above it? |
Oh yes, I suppose so. Though changing layout of the label isn't currently a supported option of ComboBox. |
@terracoda, it would be a bit challenging to add the label above the combobox. Can we just keep it the way it is now? |
Can the "Voice:" part of the name be hidden? We already have "Voice Pitch" and only "Pitch" is on the screen. |
I would think that the design pattern would be the same as RaP's "Range" combobox. |
If that approach is too complicated. We can leave it. |
Ahh I see, perhaps something like this: Index: js/preferences/VoicingPanelSection.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/preferences/VoicingPanelSection.js b/js/preferences/VoicingPanelSection.js
--- a/js/preferences/VoicingPanelSection.js (revision e445764c07dc704f7bd47ddaae091e6d6b245de0)
+++ b/js/preferences/VoicingPanelSection.js (date 1654701947879)
@@ -431,6 +431,8 @@
listPosition: 'above',
accessibleName: voiceLabelString,
+ comboBoxVoicingNameResponsePattern: 'Voice: {{value}}',
+
// phet-io, opt out because we would need to instrument voices, but those could change between runtimes.
tandem: Tandem.OPT_OUT
}, options ); |
Ok how does that sound on master? |
I think this sounds better. I hear "Voice {{selectedVoice}}" when I click on or move focus to the combobox button. I also hear each voice option as I arrow through the options. However, my selection is not voiced. And that's how it woks with the Range combobox as well. I checked the RaP design doc to see if we had a good reason for not hearing the new selection, and Rule 2 says
@zepumph, is there a reason why we did not implement the name response upon a new selection? Or did I just miss this in my last review of the combobox interaction? Or did something change in common code? There is no context response for the Voice combobox, so we won't hear anything there even if checked. We should always hear a name response, though, according to my design documentation. I am wondering if the missing name response that should happen upon a selection is a bug or an undocumented design decision? I think it is a bug, so can you add a name response or show me the issue where we decided not to have name responses upon a new selection and I will update the design documentation. This stuff is complicated! |
"Voice" is in, so this particular issue is resolved. Shall we move my last comment to a new issue - a common code issue? |
Let's take up #813 (comment) in phetsims/ratio-and-proportion#474. |
I originally designed a dynamic button name "Voice {{Alex}}" for the preferences menu.
The button lives inside an accordion box with the name "Customize Voice", and then there are two sliders before the combo box:
Customize Voice (voiced as "Customize Voice" + context responses when expanded/collapsed)
"Rate" (voiced as "Voice Rate" + actual rate) - Voice Rate, {{1.75}} times
"Pitch" (voiced as "Pitch" + actual range) - Pitch, {{in normal range}}
"{{Alex}}" (selected voice voiced on initial focus, but new voice is not voiced when a new voice is selected.)
I just want to double check that we intentionally do not want "Voice" as part of the button's visual label or accessible name, and that we do not want to hear the newly selected voice when a change is made.
I'd like to note that while working on RaP's two combo boxes, we came up with 2 distinct combo box voicing interaction patterns, one for when then the button label incorporates the name "Challenge {{1}}" and one where the the visual label is outside "Range:" + "{{0 to 10}}".
I am wondering if one of these patterns would be a better fit for the Voice combo box?
And it would be great to have a little discussion about this issue before we publish our next sim with Voicing.
The text was updated successfully, but these errors were encountered: