From df4fcab5c2b427e99765ee8ecfa9e2df385f40fe Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 2 Jul 2021 09:21:59 -0500 Subject: [PATCH] use voicing methods --- js/create/view/MyChallengeAccordionBox.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/js/create/view/MyChallengeAccordionBox.js b/js/create/view/MyChallengeAccordionBox.js index b3b14ae1..f4705c82 100644 --- a/js/create/view/MyChallengeAccordionBox.js +++ b/js/create/view/MyChallengeAccordionBox.js @@ -174,13 +174,11 @@ class MyChallengeAccordionBox extends AccordionBox { accordionBoxUtterance.alert = ratioAndProportionStrings.a11y.ratio.currentChallengeHidden; } - this.setButtonVoicingOptions( { - voicingObjectResponse: objectResponse, - voicingHintResponse: hintResponse - } ); + this.voicingObjectResponse = objectResponse; + this.voicingHintResponse = hintResponse; if ( oldValue !== null ) { - this.voicingSpeakButtonResponse( { utterance: accordionBoxVoicingUtterance } ); + this.voicingSpeakResponse( { utterance: accordionBoxVoicingUtterance } ); phet.joist.sim.utteranceQueue.addToBack( accordionBoxUtterance ); } } );