Skip to content

Commit

Permalink
button instead of input of type button for a11y, see phetsims/john-tr…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 13, 2017
1 parent 8ea5852 commit d963d44
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js/buttons/SoundToggleButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ define( function( require ) {
xMargin: MARGIN,
yMargin: MARGIN,

// a11y - tab navigation and auditory descriptions
parentContainerTagName: 'div',
tagName: 'input',
inputType: 'button',
labelTagName: 'label',
// a11y
tagName: 'button',
accessibleLabel: SceneryPhetA11yStrings.soundToggleLabelString
}, options ) );

Expand Down

0 comments on commit d963d44

Please sign in to comment.