From 048cc8cb520a24ea0a370d8e7c418754855c8320 Mon Sep 17 00:00:00 2001 From: Chris Malley Date: Thu, 28 Oct 2021 10:20:09 -0600 Subject: [PATCH] fix typo, add comment, https://github.com/phetsims/phet-info/issues/168 --- doc/alternative-input-quick-start-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/alternative-input-quick-start-guide.md b/doc/alternative-input-quick-start-guide.md index 90f8dc42..28bd0c35 100644 --- a/doc/alternative-input-quick-start-guide.md +++ b/doc/alternative-input-quick-start-guide.md @@ -24,9 +24,9 @@ use this pattern in your ScreenView constructor: ```js this.pdomPlayAreaNode.children = [ ... ]; -this.pdomPlayAreaNode.pdomOrder = [ ... ]; +this.pdomPlayAreaNode.pdomOrder = [ ... ]; // decouple traversal order from rendering order this.pdomControlAreaNode.children = [ ... ]; -this.pdomPControlAreaNode.pdomOrder = [ ... ]; +this.pdomControlAreaNode.pdomOrder = [ ... ]; // decouple traversal order from rendering order ``` (b) In many cases, "Play Area" and "Control Area" can be ignored for the purposes of alternative input. If @@ -37,7 +37,7 @@ in your ScreenView constructor: const screenViewRootNode = new Node( { children: [...] }); -screenViewRootNode.pdomOrder = [...]; +screenViewRootNode.pdomOrder = [...]; // decouple traversal order from rendering order this.addChild( screenViewRootNode ); ```