Skip to content

Commit

Permalink
add labels back in because it isn't the default, phetsims/scenery#759,
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 8, 2018
1 parent b9360e9 commit 4cb1f42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/view/AlphaParticlePropertiesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ define( function( require ) {
shiftKeyboardStep: 1,
pageKeyboardStep: 10,
labelContent: energyString,
labelTagName: 'label',
descriptionTagName: 'p',
descriptionContent: energySliderDescriptionString,
appendDescription: true
Expand Down Expand Up @@ -243,6 +244,7 @@ define( function( require ) {

// a11y
labelContent: tracesString,
labelTagName: 'label',
descriptionTagName: 'p',
descriptionContent: traceCheckboxDescriptionString,
containerTagName: 'div'
Expand Down
2 changes: 2 additions & 0 deletions js/rutherfordatom/view/AtomPropertiesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ define( function( require ) {

// a11y
labelContent: protonsValuePatternString,
labelTagName: 'label',
descriptionTagName: 'p',
descriptionContent: protonSliderDescriptionString,
containerTagName: 'div'
Expand Down Expand Up @@ -343,6 +344,7 @@ define( function( require ) {

// a11y
labelContent: neutronsValuePatternString,
labelTagName: 'label',
descriptionTagName: 'p',
descriptionContent: neutronSliderDescriptionString,
containerTagName: 'div'
Expand Down

0 comments on commit 4cb1f42

Please sign in to comment.