Skip to content

Commit

Permalink
SelfVoicingUtterance -> VoicingUtterance, 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 6876763 commit d7e8986
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions js/accessibility/speaker/SelfVoicingPreferencesDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import ComboBoxItem from '../../../../sun/js/ComboBoxItem.js';
import Dialog from '../../../../sun/js/Dialog.js';
import VerticalCheckboxGroup from '../../../../sun/js/VerticalCheckboxGroup.js';
import GestureControlledSlider from '../../../../tappi/js/view/GestureControlledSlider.js';
import SelfVoicingUtterance from '../../../../utterance-queue/js/SelfVoicingUtterance.js';
import VoicingUtterance from '../../../../utterance-queue/js/VoicingUtterance.js';
import PhetFont from '../../PhetFont.js';
import sceneryPhet from '../../sceneryPhet.js';
import levelSpeakerModel from './levelSpeakerModel.js';
Expand Down Expand Up @@ -130,7 +130,7 @@ class SelfVoicingPreferencesDialog extends Dialog {

// this utterance is polite because we want to hear 'New Voice Selected' when
// a new voice is chosen
const changeVoiceUtterance = new SelfVoicingUtterance( {
const changeVoiceUtterance = new VoicingUtterance( {
alert: response,
cancelOther: false
} );
Expand All @@ -150,7 +150,7 @@ SelfVoicingPreferencesDialog.createLabelledSlider = ( numberProperty, label, sel
selfVoicingLabel: selfVoicingLabel
} );

const utterance = new SelfVoicingUtterance( {
const utterance = new VoicingUtterance( {
alertStableDelay: 500,
alertMaximumDelay: 1000
} );
Expand Down
4 changes: 2 additions & 2 deletions js/accessibility/speaker/SelfVoicingQuickControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import merge from '../../../../phet-core/js/merge.js';
import StringUtils from '../../../../phetcommon/js/util/StringUtils.js';
import PhetFont from '../../../../scenery-phet/js/PhetFont.js';
import AlignGroup from '../../../../scenery/js/nodes/AlignGroup.js';
import SelfVoicingUtterance from '../../../../utterance-queue/js/SelfVoicingUtterance.js';
import VoicingUtterance from '../../../../utterance-queue/js/VoicingUtterance.js';
import SelfVoicingPreferencesDialog from './SelfVoicingPreferencesDialog.js';
import HBox from '../../../../scenery/js/nodes/HBox.js';
import HStrut from '../../../../scenery/js/nodes/HStrut.js';
Expand Down Expand Up @@ -185,7 +185,7 @@ class SelfVoicingQuickControl extends Node {

// object response describing the open dialog - polite so the first focusable element
// to be described
const utterance = new SelfVoicingUtterance( {
const utterance = new VoicingUtterance( {
alert: selfVoicingDialogAlert,
cancelOther: false
} );
Expand Down

0 comments on commit d7e8986

Please sign in to comment.