diff --git a/js/buoyancy/view/applications/BuoyancyApplicationsScreenView.ts b/js/buoyancy/view/applications/BuoyancyApplicationsScreenView.ts index 236c846d..9b5d838b 100644 --- a/js/buoyancy/view/applications/BuoyancyApplicationsScreenView.ts +++ b/js/buoyancy/view/applications/BuoyancyApplicationsScreenView.ts @@ -158,6 +158,7 @@ export default class BuoyancyApplicationsScreenView extends BuoyancyScreenView { font: DensityBuoyancyCommonConstants.COMBO_BOX_ITEM_FONT, maxWidth: 160 } ), - tandemName: `${gravity.tandem.name}Item`, + tandemName: `${gravity.tandem.name.replace( 'Gravity', '' )}Item`, a11yName: gravity.nameProperty }; } ), diff --git a/js/common/view/MaterialControlNode.ts b/js/common/view/MaterialControlNode.ts index 39cec0b5..a5c50177 100644 --- a/js/common/view/MaterialControlNode.ts +++ b/js/common/view/MaterialControlNode.ts @@ -83,7 +83,7 @@ export default class MaterialControlNode extends VBox { font: DensityBuoyancyCommonConstants.COMBO_BOX_ITEM_FONT, maxWidth: comboMaxWidth } ), - tandemName: `${material.tandem.name}Item`, + tandemName: `${material.tandem.name.replace( 'Material', '' )}Item`, a11yName: material.nameProperty }; };