From 774f5371d08993bfe0b04a5de895e2483bee2d2f Mon Sep 17 00:00:00 2001 From: zepumph Date: Tue, 19 Nov 2019 15:46:50 -0900 Subject: [PATCH] add getter to Sim.js to access Display.prototype.utteranceQueue, https://github.com/phetsims/utterance-queue/issues/7 --- energy-forms-and-changes_a11y_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/energy-forms-and-changes_a11y_view.html b/energy-forms-and-changes_a11y_view.html index 6993158a..2b7c2765 100644 --- a/energy-forms-and-changes_a11y_view.html +++ b/energy-forms-and-changes_a11y_view.html @@ -269,7 +269,7 @@

PDOM & Descriptions for Energy Forms and Changes

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' );