Skip to content

Commit

Permalink
use innerContent rather than AccessibleName, see #237
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Dec 11, 2019
1 parent bdaaded commit 45060d2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ define( require => {

const summaryProperties = [ model.photonWavelengthProperty, model.emissionFrequencyProperty, model.photonTargetProperty, model.runningProperty ];
Property.multilink( summaryProperties, ( photonWavelength, emissionFrequency, photonTarget, running ) => {
dynamicDescription.accessibleName = this.getSummaryString( photonWavelength, emissionFrequency, photonTarget, running );

// TODO: Maybe use accessibleName instead if https://github.com/phetsims/molecules-and-light/issues/237 is fixed
dynamicDescription.innerContent = this.getSummaryString( photonWavelength, emissionFrequency, photonTarget, running );
} );

// interaction hint
Expand Down

0 comments on commit 45060d2

Please sign in to comment.