Skip to content

Commit

Permalink
Keep disabled StepButtons in the a11y focus order, see phetsims/molec…
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Oct 2, 2017
1 parent ea123c3 commit a0ded4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/buttons/StepButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ define( function( require ) {
var playingObserver = function( playing ) {
self.enabled = !playing;

// a11y
self.focusable = !playing;
// a11y note: we do not alter the focusability of such buttons. They should always be in the accessible
// order.
};
options.playingProperty.link( playingObserver );
}
Expand Down

0 comments on commit a0ded4e

Please sign in to comment.