Skip to content

Commit

Permalink
document visible vs PDOM strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Jan 17, 2019
1 parent 6763f5b commit 3967240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/keyboard/help/HelpContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,17 @@ define( function( require ) {
*/
HelpContent.getGrabReleaseHelpContent = function( thingAsTitle, thingAsLowerCase ) {

// the visible heading string
var heading = StringUtils.fillIn( keyboardHelpDialogGrabOrReleaseHeadingPatternString, {
thing: thingAsTitle
} );

// the visible label string
var labelString = StringUtils.fillIn( keyboardHelpDialogGrabOrReleaseLabelPatternString, {
thing: thingAsLowerCase
} );

// the string for the PDOM
var descriptionString = StringUtils.fillIn( grabOrReleaseDescriptionPatternString, {
thing: thingAsLowerCase
} );
Expand Down

0 comments on commit 3967240

Please sign in to comment.