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 1a35d04 commit 3feaa4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gravity-force-lab_a11y_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ <h3>PDOM & Descriptions for Gravity Force Lab</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 = 'gravity-force-lab_en';
const filenameEnding = IS_BUILT ? '_phet.html' : '.html';
Expand Down
2 changes: 1 addition & 1 deletion gravity-force-lab_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"phet-io",
"adapted-from-phet"
],
"supportsInteractiveDescriptions": true,
"supportsInteractiveDescription": true,
"supportsSound": true,
"supportsEnhancedSound": true,
"simulation": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"phet-io",
"adapted-from-phet"
],
"supportsInteractiveDescriptions": true,
"supportsInteractiveDescription": true,
"supportsSound": true,
"supportsEnhancedSound": true,
"simulation": true
Expand Down

0 comments on commit 3feaa4d

Please sign in to comment.