Skip to content

Commit

Permalink
tag name required for accessible content, see phetsims/john-travoltag…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Apr 26, 2017
1 parent c722594 commit 57106ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/accessibility/Accessibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ define( function( require ) {
}

var accessibleContent = null;
if ( contentDisplayed ) {
if ( contentDisplayed && this._tagName ) {
accessibleContent = {
focusHighlight: this._focusHighlight,
createPeer: function( accessibleInstance ) {
Expand Down

0 comments on commit 57106ff

Please sign in to comment.