Skip to content

Commit

Permalink
remove accessibleLabel from MenuItem
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Mar 22, 2017
1 parent d98d635 commit 28d0127
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,13 @@ define( function( require ) {

this.mutate( {
cursor: 'pointer',
textDescription: text + ' Button',
tandem: options.tandem,
phetioType: TMenuItem,

// a11y
parentContainerTagName: 'li',
parentContainerAriaRole: 'menuitem',
tagName: options.tagName,
accessibleLabel: text,
focusable: true
tagName: options.tagName
} );

if ( options.ariaRole ) {
Expand Down

0 comments on commit 28d0127

Please sign in to comment.