Skip to content

Commit

Permalink
Updates to RAP AccordionBox voicing design, phetsims/ratio-and-propor…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 18, 2022
1 parent ab3bc7c commit a066003
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions js/AccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ import { Shape } from '../../kite/js/imports.js';
import InstanceRegistry from '../../phet-core/js/documentation/InstanceRegistry.js';
import merge from '../../phet-core/js/merge.js';
import optionize from '../../phet-core/js/optionize.js';
import { IColor, PathOptions, PDOMBehaviorFunction } from '../../scenery/js/imports.js';
import { FocusHighlightFromNode, InteractiveHighlighting, NodeOptions } from '../../scenery/js/imports.js';
import { PDOMPeer } from '../../scenery/js/imports.js';
import { Node } from '../../scenery/js/imports.js';
import { Path } from '../../scenery/js/imports.js';
import { Rectangle } from '../../scenery/js/imports.js';
import { Text } from '../../scenery/js/imports.js';
import { FocusHighlightFromNode, IColor, InteractiveHighlighting, Node, NodeOptions, Path, PathOptions, PDOMBehaviorFunction, PDOMPeer, Rectangle, Text } from '../../scenery/js/imports.js';
import accordionBoxClosedSoundPlayer from '../../tambo/js/shared-sound-players/accordionBoxClosedSoundPlayer.js';
import accordionBoxOpenedSoundPlayer from '../../tambo/js/shared-sound-players/accordionBoxOpenedSoundPlayer.js';
import SoundClipPlayer from '../../tambo/js/sound-generators/SoundClipPlayer.js';
Expand Down Expand Up @@ -451,7 +445,9 @@ export default class AccordionBox extends Node {

pdomContainerNode.setPDOMAttribute( 'aria-hidden', !expanded );

this.expandCollapseButton.voicingSpeakFullResponse();
this.expandCollapseButton.voicingSpeakFullResponse( {
hintResponse: null
} );
};
this.expandedProperty.link( expandedPropertyObserver );
this.disposeEmitterAccordionBox.addListener( () => this.expandedProperty.unlink( expandedPropertyObserver ) );
Expand Down

0 comments on commit a066003

Please sign in to comment.