diff --git a/js/accessibility/pdom/PDOMPeer.js b/js/accessibility/pdom/PDOMPeer.js index 345459d93..a2a5a62db 100644 --- a/js/accessibility/pdom/PDOMPeer.js +++ b/js/accessibility/pdom/PDOMPeer.js @@ -828,7 +828,8 @@ class PDOMPeer { assert && assert( this._primarySibling, 'must have a primary sibling to focus' ); // We do not support manually calling focus on an invisible HTML element, see https://github.com/phetsims/scenery/issues/1290 - assert && assert( this.isVisible(), 'cannot focus() an invisible element' ); + // TODO: support this in https://github.com/phetsims/scenery/issues/1290 + // assert && assert( this.isVisible(), 'cannot focus() an invisible element' ); // We do not want to steal focus from any parent application. For example, if this element is in an iframe. // See https://github.com/phetsims/joist/issues/897.