Skip to content

Commit

Permalink
replace usage of voicingUtteranceQueue.addToBack, see phetsims/scener…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 11, 2022
1 parent 0043476 commit 25b7e6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/toolbar/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ class Toolbar extends Node {

if ( oldValue !== null ) {
const alert = open ? toolbarShownString : toolbarHiddenString;
this.openButton.voicingSpeakContextResponse( {
contextResponse: alert
} );

voicingUtteranceQueue.addToBack( alert );
this.alertDescriptionUtterance( alert );
Expand Down

0 comments on commit 25b7e6a

Please sign in to comment.