Skip to content

Commit

Permalink
useAriaLabel -> ariaLabel setter, phetsims/scenery#748
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph authored and jessegreenberg committed Apr 21, 2021
1 parent b14e0a8 commit 57cdd27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/moleculesandlight/view/ObservationWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,8 @@ define( function( require ) {
// a11y
tagName: 'input',
inputType: 'button',
accessibleLabel: returnMoleculeString,
accessibleDescription: returnMoleculeHelpString,
useAriaLabel: true
ariaLabel: returnMoleculeString
} );

this.returnMoleculeButtonNode.rightTop = ( new Vector2( this.width - 2 * this.frameLineWidth - 10, 10 ) );
Expand Down

0 comments on commit 57cdd27

Please sign in to comment.