Skip to content

Commit

Permalink
hint when simulation has loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Jun 8, 2020
1 parent 7b6d3af commit 3bffed9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions js/john-travoltage/view/JohnTravoltageView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bffed9

Please sign in to comment.