From 889069dc5a371ea060d779095836842761b620fe Mon Sep 17 00:00:00 2001 From: zepumph Date: Mon, 1 Feb 2021 16:36:02 -0900 Subject: [PATCH] interactive descriptions -> interactive description, https://github.com/phetsims/a11y-research/issues/157 --- package.json | 2 +- resistance-in-a-wire_a11y_view.html | 4 ++-- resistance-in-a-wire_en.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9c5b59f..e9089f8 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "phet-io", "adapted-from-phet" ], - "supportsInteractiveDescriptions": true, + "supportsInteractiveDescription": true, "supportsSound": true, "simulation": true }, diff --git a/resistance-in-a-wire_a11y_view.html b/resistance-in-a-wire_a11y_view.html index d4f71bb..544b66f 100644 --- a/resistance-in-a-wire_a11y_view.html +++ b/resistance-in-a-wire_a11y_view.html @@ -224,10 +224,10 @@

PDOM & Descriptions for Resistance in a Wire

} 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'; diff --git a/resistance-in-a-wire_en.html b/resistance-in-a-wire_en.html index b219f94..23f0d44 100644 --- a/resistance-in-a-wire_en.html +++ b/resistance-in-a-wire_en.html @@ -39,7 +39,7 @@ "phet-io", "adapted-from-phet" ], - "supportsInteractiveDescriptions": true, + "supportsInteractiveDescription": true, "supportsSound": true, "simulation": true },