From e1d596a32141604d681dbdba62ff52090d3e63ca Mon Sep 17 00:00:00 2001 From: zepumph Date: Sun, 8 Apr 2018 10:08:39 -0800 Subject: [PATCH] john travoltage regression test, https://github.com/phetsims/scenery/issues/753 --- js/john-travoltage/view/AppendageNode.js | 1 + js/john-travoltage/view/JohnTravoltageView.js | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/js/john-travoltage/view/AppendageNode.js b/js/john-travoltage/view/AppendageNode.js index 5a801ceb..74f7759c 100644 --- a/js/john-travoltage/view/AppendageNode.js +++ b/js/john-travoltage/view/AppendageNode.js @@ -78,6 +78,7 @@ define( function( require ) { inputType: 'range', ariaRole: 'slider', focusable: true, + appendLabel: true, containerTagName: 'div', keyboardMidPointOffset: 0 // adjust center position of accessible slider, to align important locations at center }, options ); diff --git a/js/john-travoltage/view/JohnTravoltageView.js b/js/john-travoltage/view/JohnTravoltageView.js index 9ed8f0cc..dab2c680 100644 --- a/js/john-travoltage/view/JohnTravoltageView.js +++ b/js/john-travoltage/view/JohnTravoltageView.js @@ -104,8 +104,7 @@ define( function( require ) { containerAriaRole: 'none', tagName: 'div', labelTagName: 'h2', - labelContent: playAreaString, - prependLabels: true + labelContent: playAreaString } ); this.addChild( playAreaNode ); @@ -114,8 +113,7 @@ define( function( require ) { tagName: 'div', ariaRole: 'none', labelTagName: 'h2', - labelContent: controlPanelString, - prependLabels: true + labelContent: controlPanelString } ); this.addChild( controlPanelNode );