Skip to content

Commit

Permalink
selfVoicing -> voicing in many cases, see phetsims/tasks#1083
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 24, 2021
1 parent fd01d1a commit 5c355f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/view/GestureControlledSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class GestureControlledSlider extends Slider {
options = merge( {

// the label to be read by webSpeaker when this component receives focus
selfVoicingLabel: null,
voicingLabel: null,

// called on an increment gesture, increment by 1/10th of the range by default
onIncrement: () => {
Expand Down Expand Up @@ -67,7 +67,7 @@ class GestureControlledSlider extends Slider {
// on focus, speak the label of this component
this.addInputListener( new VoicingInputListener( {
onFocusIn: () => {
const objectContent = options.selfVoicingLabel;
const objectContent = options.voicingLabel;

const response = levelSpeakerModel.collectResponses( objectContent );
phet.joist.sim.voicingUtteranceQueue.addToBack( response );
Expand Down

0 comments on commit 5c355f7

Please sign in to comment.