diff --git a/gravity-force-lab-basics_a11y_view.html b/gravity-force-lab-basics_a11y_view.html index 10fd0ba..e55794d 100644 --- a/gravity-force-lab-basics_a11y_view.html +++ b/gravity-force-lab-basics_a11y_view.html @@ -269,7 +269,7 @@

PDOM & Descriptions for Gravity Force Lab: Basics

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' ); diff --git a/js/gravity-force-lab-basics/view/GFLBAlertManager.js b/js/gravity-force-lab-basics/view/GFLBAlertManager.js index 904eb42..8841248 100644 --- a/js/gravity-force-lab-basics/view/GFLBAlertManager.js +++ b/js/gravity-force-lab-basics/view/GFLBAlertManager.js @@ -49,7 +49,7 @@ define( require => { */ alertDistanceVisible( showDistance ) { this.distanceVisibleUtterance.alert = showDistance ? distanceArrowVisibleString : distanceArrowRemovedString; - phet.joist.sim.display.utteranceQueue.addToBack( this.distanceVisibleUtterance ); + phet.joist.sim.utteranceQueue.addToBack( this.distanceVisibleUtterance ); } }