Skip to content

Commit

Permalink
interactive descriptions -> interactive description, phetsims/a11y-re…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Feb 2, 2021
1 parent 3e96ea9 commit 889069d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"phet-io",
"adapted-from-phet"
],
"supportsInteractiveDescriptions": true,
"supportsInteractiveDescription": true,
"supportsSound": true,
"simulation": true
},
Expand Down
4 changes: 2 additions & 2 deletions resistance-in-a-wire_a11y_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ <h3>PDOM & Descriptions for Resistance in a Wire</h3>
}

const noPostMessage = simulationQueryString.indexOf( 'postMessageOnLoad&postMessageOnError' ) === -1;
const noAccessibility = simulationQueryString.indexOf( 'supportsDescriptions' ) === -1;
const noAccessibility = simulationQueryString.indexOf( 'supportsDescription' ) === -1;

noPostMessage && ( simulationQueryString += 'postMessageOnLoad&postMessageOnError&' );
noAccessibility && ( simulationQueryString += 'supportsDescriptions' );
noAccessibility && ( simulationQueryString += 'supportsDescription' );

const repoLocale = 'resistance-in-a-wire_en';
const filenameEnding = IS_BUILT ? '_phet.html' : '.html';
Expand Down
2 changes: 1 addition & 1 deletion resistance-in-a-wire_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"phet-io",
"adapted-from-phet"
],
"supportsInteractiveDescriptions": true,
"supportsInteractiveDescription": true,
"supportsSound": true,
"simulation": true
},
Expand Down

0 comments on commit 889069d

Please sign in to comment.