Skip to content

Commit

Permalink
remove "move in four directions" role description, phetsims/gravity-f…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 11, 2019
1 parent 1e36227 commit ae59bfd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions js/ISLCA11yStrings.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,6 @@ define( require => {
measureDistanceRuler: {
value: 'Measure Distance Ruler'
},
moveInFourDirections: {
value: 'move in four directions'
},

// common checkbox strings
forceValuesCheckboxHelpText: {
Expand Down
7 changes: 0 additions & 7 deletions js/view/ISLCRulerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ define( require => {
const gestureHelpTextPatternString = SceneryPhetA11yStrings.gestureHelpTextPattern.value;
const rulerLabelString = ISLCA11yStrings.rulerLabel.value;

const moveInFourDirectionsString = ISLCA11yStrings.moveInFourDirections.value;
const measureDistanceRulerString = ISLCA11yStrings.measureDistanceRuler.value;

// constants
Expand Down Expand Up @@ -195,12 +194,6 @@ define( require => {
} )
} ),


// whenever converting from grabbable -> draggable, this function is called
onDraggable: () => {
this.setAccessibleAttribute( 'aria-roledescription', moveInFourDirectionsString );
},

onGrab: () => {
grabbedUtterance.alert = rulerDescriber.getRulerGrabbedAlertable();
phet.joist.sim.display.utteranceQueue.addToBack( grabbedUtterance );
Expand Down

0 comments on commit ae59bfd

Please sign in to comment.