diff --git a/js/molarity/view/molarityAlertManager.js b/js/molarity/view/molarityAlertManager.js index eee2761e..f06e00ea 100644 --- a/js/molarity/view/molarityAlertManager.js +++ b/js/molarity/view/molarityAlertManager.js @@ -133,7 +133,7 @@ define( require => { this.sliderUtterance.alert = StringUtils.fillIn( atMaxConcentrationAlertString, { concentration: this.concentrationDescriber.getCurrentConcentrationClause( true ) } ); - phet.joist.sim.display.utteranceQueue.addToBack( this.sliderUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.sliderUtterance ); } /** @@ -145,8 +145,8 @@ define( require => { this.saturationUtterance.alert = this.concentrationDescriber.getSaturationChangedString(); // clears the utteranceQueue to remove utterances from previous saturation region, then adds the saturation utterance. - phet.joist.sim.display.utteranceQueue.clear(); - phet.joist.sim.display.utteranceQueue.addToFront( this.saturationUtterance ); + phet.joist.sim.utteranceQueue.clear(); + phet.joist.sim.utteranceQueue.addToFront( this.saturationUtterance ); } /** @@ -156,7 +156,7 @@ define( require => { alertNoSolute() { assert && assert( !this.concentrationDescriber.hasSolute(), 'no solute alert triggered with solute in the beaker' ); this.sliderUtterance.alert = noSoluteAlertString; - phet.joist.sim.display.utteranceQueue.addToBack( this.sliderUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.sliderUtterance ); } /** @@ -165,7 +165,7 @@ define( require => { */ alertSoluteChanged() { this.soluteUtterance.alert = this.soluteDescriber.getSoluteChangedAlertString( this.useQuantitativeDescriptionsProperty ); - phet.joist.sim.display.utteranceQueue.addToBack( this.soluteUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.soluteUtterance ); } /** @@ -177,7 +177,7 @@ define( require => { this.valuesVisibleUtterance.alert = valuesVisibleProperty ? solutionValuesCheckedAlertString : solutionValuesUncheckedAlertString; - phet.joist.sim.display.utteranceQueue.addToBack( this.valuesVisibleUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.valuesVisibleUtterance ); } /** @@ -216,7 +216,7 @@ define( require => { } this.sliderUtterance.alert = alertText; - phet.joist.sim.display.utteranceQueue.addToBack( this.sliderUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.sliderUtterance ); } @@ -243,7 +243,7 @@ define( require => { } this.sliderUtterance.alert = alertText; - phet.joist.sim.display.utteranceQueue.addToBack( this.sliderUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.sliderUtterance ); } } diff --git a/molarity_a11y_view.html b/molarity_a11y_view.html index 28480015..49d2728c 100644 --- a/molarity_a11y_view.html +++ b/molarity_a11y_view.html @@ -269,7 +269,7 @@

PDOM & Descriptions for Molarity

var PDOMCopy = PDOMRoot.cloneNode( true ); // get the alert dom elements from the iframe's inner document - var ariaLiveElementsContainer = innerWindow.phet.joist.sim.display.utteranceQueue.getAriaLiveContainer(); + var ariaLiveElementsContainer = innerWindow.phet.joist.sim.utteranceQueue.getAriaLiveContainer(); // get the alert dom elements from the PDOM copy var alertList = document.getElementById( 'alert-list' );