From 3dd2e101a74defd2dead14bc8acea29ef64044c5 Mon Sep 17 00:00:00 2001 From: zepumph Date: Sun, 8 Apr 2018 10:44:19 -0800 Subject: [PATCH] molecules-and-light regression, https://github.com/phetsims/scenery/issues/753 --- js/AquaRadioButton.js | 4 +++- js/Checkbox.js | 2 ++ js/buttons/RadioButtonGroupMember.js | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/js/AquaRadioButton.js b/js/AquaRadioButton.js index 40196195..7abdfcc6 100644 --- a/js/AquaRadioButton.js +++ b/js/AquaRadioButton.js @@ -47,6 +47,8 @@ define( function( require ) { inputType: 'radio', containerTagName: 'li', labelTagName: 'label', + appendLabel: true, + appendDescription: true, a11yNameAttribute: 'aquaRadioButton' }, options ); @@ -187,7 +189,7 @@ define( function( require ) { return this._enabled; }, get enabled() { return this.getEnabled(); } - + }, { DEFAULT_RADIUS: DEFAULT_RADIUS diff --git a/js/Checkbox.js b/js/Checkbox.js index 8fc2c9dd..7f721454 100644 --- a/js/Checkbox.js +++ b/js/Checkbox.js @@ -48,6 +48,8 @@ define( function( require ) { // a11y tagName: 'input', inputType: 'checkbox', + appendLabel: true, + appendDescription: true, /* * {function( {Node} checkbox, {boolean} enabled ) } diff --git a/js/buttons/RadioButtonGroupMember.js b/js/buttons/RadioButtonGroupMember.js index 9d0b5aa4..51511a48 100644 --- a/js/buttons/RadioButtonGroupMember.js +++ b/js/buttons/RadioButtonGroupMember.js @@ -64,6 +64,8 @@ define( function( require ) { // a11y tagName: 'input', inputType: 'radio', + appendDescription: true, + appendLabel: true, tandem: Tandem.required, phetioType: RadioButtonGroupMemberIO