Skip to content

Commit

Permalink
doc, #1100
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jul 6, 2021
1 parent 7b9416b commit c829358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/accessibility/pdom/ParallelDOMTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -1882,11 +1882,11 @@ QUnit.test( 'Node.enabledProperty with PDOM', assert => {
assert.ok( pdomNode.pdomInstances.length === 1, 'should have an instance when attached to display' );
assert.ok( !!pdomNode.pdomInstances[ 0 ].peer, 'should have a peer' );

assert.ok( pdomNode.pdomInstances[ 0 ].peer.primarySibling.getAttribute( 'aria-disabled' ) !== 'true', 'should be enabled' );
assert.ok( pdomNode.pdomInstances[ 0 ].peer.primarySibling.getAttribute( 'aria-disabled' ) !== 'true', 'should be not enabled' );
pdomNode.enabled = false;
assert.ok( pdomNode.pdomInstances[ 0 ].peer.primarySibling.getAttribute( 'aria-disabled' ) === 'true', 'should be enabled' );
pdomNode.enabled = true;
assert.ok( pdomNode.pdomInstances[ 0 ].peer.primarySibling.getAttribute( 'aria-disabled' ) === 'false', 'should be enabled' );
assert.ok( pdomNode.pdomInstances[ 0 ].peer.primarySibling.getAttribute( 'aria-disabled' ) === 'false', 'should be not enabled' );
pdomNode.dispose;
display.dispose();
display.domElement.parentElement.removeChild( display.domElement );
Expand Down

0 comments on commit c829358

Please sign in to comment.