Skip to content

Commit

Permalink
use innerContent instead of accessibleLabel, see phetsims/scenery#755
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 30, 2018
1 parent 47db369 commit 70bf4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/KeyboardHelpButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ define( function( require ) {

// a11y options
tagName: 'button',
accessibleLabel: hotKeysAndHelpString
innerContent: hotKeysAndHelpString
};

var icon = new Image( brightIconMipmap, {
Expand Down
2 changes: 1 addition & 1 deletion js/PhetButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ define( function( require ) {

// a11y
tagName: 'button',
accessibleLabel: phetString
innerContent: phetString
};

// The PhET Label, which is the PhET logo
Expand Down

0 comments on commit 70bf4b2

Please sign in to comment.