From 3d419826c5242f3ef8076cf78b84af1aacb8edbe Mon Sep 17 00:00:00 2001 From: zepumph Date: Sun, 8 Apr 2018 10:31:00 -0800 Subject: [PATCH] remove prependLabels, https://github.com/phetsims/scenery/issues/753 --- .../js/abswitch-test/view/AbswitchTestScreenView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/abswitch-test/js/abswitch-test/view/AbswitchTestScreenView.js b/js/abswitch-test/js/abswitch-test/view/AbswitchTestScreenView.js index e64b9e9..1998578 100644 --- a/js/abswitch-test/js/abswitch-test/view/AbswitchTestScreenView.js +++ b/js/abswitch-test/js/abswitch-test/view/AbswitchTestScreenView.js @@ -119,12 +119,12 @@ define( function( require ) { // label for the radio option var radioLabel = new Text( 'ABSwitch as a radio button group', { font: font } ); radioButtonParent.addChild( radioLabel ); - + + // a11y var parent = new Node( { tagName: 'div', labelTagName: 'h3', - innerContent: 'Circle or Square', - prependLabels: true + innerContent: 'Circle or Square' } ); radioButtonParent.addChild( parent );