Skip to content

Commit 7ef0dae

Browse files
authored
Mark interactive graph widget as accessible! (#2288)
## Summary: Now that the Interactive Graph updates phase 1 is coming to a close, we can mark the Interactive Graph widget as accessible. And since the new mobile version is released, it also means that Interactive Graph is no longer reserved for assessments only. Issue: https://khanacademy.atlassian.net/browse/LEMS-2522 ## Test plan: - Bump the Perseus version in webapp using this PR version - Check in local devserver that the interactive graph "Requires screen or mouse?" checkbox is no longer auto-checked and disabled. | Before | After | | --- | --- | | <img width="269" alt="Screenshot 2025-03-06 at 6 21 40 PM" src="https://github.com/user-attachments/assets/8241c597-36ce-465a-ba69-c00855410341" /> | <img width="268" alt="Screenshot 2025-03-06 at 6 21 25 PM" src="https://github.com/user-attachments/assets/9423594c-e363-4fc2-8b57-f41e7bdf1951" /> | Author: nishasy Reviewers: SonicScrewdriver, catandthemachines Required Reviewers: Approved By: SonicScrewdriver Checks: ✅ 18 checks were successful Pull Request URL: #2288
1 parent 015aace commit 7ef0dae

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/calm-socks-cheer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@khanacademy/perseus": minor
3+
---
4+
5+
Mark Interactive Graph Widget as accessible. (Content authors are no longer blocked from checking/unchecking the "Requires screen or mouse?" checkbox.)

packages/perseus/src/widgets/interactive-graph.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,8 @@ const staticTransform = _.identity;
832832

833833
export default {
834834
name: "interactive-graph",
835-
displayName: "Interactive graph (Assessments only)",
835+
displayName: "Interactive graph",
836+
accessible: true,
836837
widget: InteractiveGraph,
837838
staticTransform: staticTransform,
838839
} satisfies WidgetExports<typeof InteractiveGraph>;

0 commit comments

Comments
 (0)