Skip to content

Commit

Permalink
accessibleDisplayed->pdomDisplayed, #997
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 15, 2021
1 parent 1816d5c commit 8f28c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/accessibility/pdom/ParallelDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -2208,15 +2208,15 @@ const ParallelDOM = {
* (unlike Node.wasDisplayed()).
* @public
*/
isAccessibleDisplayed: function() {
isPDOMDisplayed: function() {
for ( let i = 0; i < this._accessibleInstances.length; i++ ) {
if ( this._accessibleInstances[ i ].isGloballyVisible() ) {
return true;
}
}
return false;
},
get accessibleDisplayed() { return this.isAccessibleDisplayed(); },
get pdomDisplayed() { return this.isPDOMDisplayed(); },

/**
* Set the value of an input element. Element must be a form element to support the value attribute. The input
Expand Down

0 comments on commit 8f28c1a

Please sign in to comment.