From 3bffed909c89214a4324d02bb484495faee25e66 Mon Sep 17 00:00:00 2001 From: Jesse Date: Mon, 8 Jun 2020 16:02:47 -0400 Subject: [PATCH] hint when simulation has loaded --- js/john-travoltage/view/JohnTravoltageView.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/john-travoltage/view/JohnTravoltageView.js b/js/john-travoltage/view/JohnTravoltageView.js index 5103ceab..c9370e6e 100644 --- a/js/john-travoltage/view/JohnTravoltageView.js +++ b/js/john-travoltage/view/JohnTravoltageView.js @@ -183,6 +183,13 @@ function JohnTravoltageView( model, tandem ) { this.elapsedTime += dt; vibrationTestInputListener.setElapsedTime( this.elapsedTime ); } ); + + // let user know that simulation is loaded, and let them know to begin reading through the PDOM + phet.joist.sim.isConstructionCompleteProperty.link( complete => { + if ( complete ) { + phet.joist.sim.utteranceQueue.addToBack( 'Simulation loaded. Start reading to play.' ); + } + } ); } // (a11y) after travolta picks up electrons the first time, this flag will modify descriptions slightly