Skip to content

Commit

Permalink
remove createAriaValueText option, see #124
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Dec 12, 2018
1 parent 4f317ad commit 34857eb
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions js/gravity-force-lab/view/MassNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,8 @@ define( function( require ) {
arrowLabelFill: ARROW_LABEL_COLOR_STRING,
y: MASS_NODE_Y_POSITION,
snapToNearest: GravityForceLabConstants.LOCATION_SNAP_VALUE,

maxArrowWidth: 300,

tandem: Tandem.required,

// a11y
/*
the aria-valuetext will be of the form {{# meter mark}}, [ progress alert (closer/further) / region ], vector size
Patterns:
- {{position}} meter mark, {{progress}} {{otherObjectLabel}}, force vectors {{size}}
- {{position}} meter mark, {{progress}}, force vectors {{size}}
- {{position}} meter mark, {{region}} {{otherObject}}, force vectors {{size}}
- {{position}} meter mark, {{region}}, force vectors {{size}}
HANDLE IN SCREENVIEW
*/
createAriaValueText: function( formattedValue ) {
return stringManager.getSpherePositionAriaValueText( formattedValue, self );
}
tandem: Tandem.required
}, options );

// @private
Expand Down

0 comments on commit 34857eb

Please sign in to comment.