Skip to content

Commit

Permalink
self-voicing -> voicing in many comments, see phetsims/tasks#1083
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 25, 2021
1 parent 814a9ff commit ad5c437
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion js/accessibility/reader/Cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* https://github.com/phetsims/scenery/issues/538
*
* NOTE: We are no longer actively developing this since we know that users would much rather use their own
* dedicated software. But we are keeping it around for when we want to explore any other self voicing features
* dedicated software. But we are keeping it around for when we want to explore any other voicing features
* using the web speech API.
*
* @author Jesse Greenberg
Expand Down
2 changes: 1 addition & 1 deletion js/accessibility/reader/Reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* See https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API
*
* NOTE: We are no longer actively developing this since we know that users would much rather use their own
* dedicated software. But we are keeping it around for when we want to explore any other self voicing features
* dedicated software. But we are keeping it around for when we want to explore any other voicing features
* using the web speech API.
* @author Jesse Greenberg
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2021, University of Colorado Boulder

/**
* Manages "self-voicing" content as it is read with speech synthesis. Output is categorized into
* Manages "voicing" content as it is read with speech synthesis. Output is categorized into
* "Object Responses" - Speech describing the object as it receives interaction
* "Context Responses" - Speech describing surrounding contextual changes in response to user interaction
* "Hints" - General hint content to guide a particular user interaction
Expand All @@ -14,7 +14,7 @@
import scenery from '../../scenery.js';
import BooleanProperty from '../../../../axon/js/BooleanProperty.js';

class SelfVoicingManager {
class VoicingManager {
constructor() {

// @public {BooleanProperty} - whether or not "Object Responses" are read as interactive components change
Expand Down Expand Up @@ -77,6 +77,6 @@ class SelfVoicingManager {
}
}

const selfVoicingManager = new SelfVoicingManager();
scenery.register( 'selfVoicingManager', selfVoicingManager );
export default selfVoicingManager;
const voicingManager = new VoicingManager();
scenery.register( 'voicingManager', voicingManager );
export default voicingManager;
2 changes: 1 addition & 1 deletion js/accessibility/speaker/webSpeaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class WebSpeaker {
this.enabledProperty = new BooleanProperty( false );

// @public {BooleanProperty} - whether or not speech is enabled. If false, nothing will be spoken. Note this
// does not control whether or not the self-voicing feature is enabled, only whether or not speech will actually
// does not control whether or not the voicing feature is enabled, only whether or not speech will actually
// be heard.
this.speechEnabledProperty = new BooleanProperty( true );

Expand Down
2 changes: 1 addition & 1 deletion js/listeners/SwipeListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* - Press and hold, initiate drag of focused item (forwarding press to item)
*
* We hope that the above input strategies will allow BVI users to interact with the sim
* without the use of a screen reader, but in combination with the self-voicing feature set.
* without the use of a screen reader, but in combination with the voicing feature set.
*
* PROTOTYPE. DO NOT USE IN PRODUCTION CODE.
*
Expand Down

0 comments on commit ad5c437

Please sign in to comment.