diff --git a/js/john-travoltage/view/AppendageNode.js b/js/john-travoltage/view/AppendageNode.js index e2dad80c..30c34204 100644 --- a/js/john-travoltage/view/AppendageNode.js +++ b/js/john-travoltage/view/AppendageNode.js @@ -19,7 +19,7 @@ import Vector2 from '../../../../dot/js/Vector2.js'; import Shape from '../../../../kite/js/Shape.js'; import merge from '../../../../phet-core/js/merge.js'; import StringUtils from '../../../../phetcommon/js/util/StringUtils.js'; -import SelfVoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingInputListener.js'; +import VoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/VoicingInputListener.js'; import levelSpeakerModel from '../../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js'; import sceneryPhetStrings from '../../../../scenery-phet/js/sceneryPhetStrings.js'; import FocusHighlightPath from '../../../../scenery/js/accessibility/FocusHighlightPath.js'; @@ -308,7 +308,7 @@ class AppendageNode extends Node { } } ); - this.addInputListener( new SelfVoicingInputListener( { + this.addInputListener( new VoicingInputListener( { onFocusIn: () => { const response = this.getSelfVoicingObjectResponse( true ); phet.joist.sim.voicingUtteranceQueue.addToBack( response ); diff --git a/js/john-travoltage/view/JohnTravoltageView.js b/js/john-travoltage/view/JohnTravoltageView.js index 7cba871f..a322d4d5 100644 --- a/js/john-travoltage/view/JohnTravoltageView.js +++ b/js/john-travoltage/view/JohnTravoltageView.js @@ -17,7 +17,7 @@ import ScreenView from '../../../../joist/js/ScreenView.js'; import Shape from '../../../../kite/js/Shape.js'; import platform from '../../../../phet-core/js/platform.js'; import StringUtils from '../../../../phetcommon/js/util/StringUtils.js'; -import SelfVoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingInputListener.js'; +import VoicingInputListener from '../../../../scenery-phet/js/accessibility/speaker/VoicingInputListener.js'; import SelfVoicingQuickControl from '../../../../scenery-phet/js/accessibility/speaker/SelfVoicingQuickControl.js'; import levelSpeakerModel from '../../../../scenery-phet/js/accessibility/speaker/levelSpeakerModel.js'; import ResetAllButton from '../../../../scenery-phet/js/buttons/ResetAllButton.js'; @@ -398,7 +398,7 @@ class JohnTravoltageView extends ScreenView { swipeListener.enabled = gestureControl; } ); - resetAllButton.addInputListener( new SelfVoicingInputListener( { + resetAllButton.addInputListener( new VoicingInputListener( { onFocusIn: () => { // on focus, speak the name of the reset all button