-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
add Chart2Music keyboard and sound accessibility features #6680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 17 commits
6fb9c65
87b4c5c
64ae505
d37d24f
d0467bb
3a73776
b4df959
97b608f
6205d62
7e40cde
6d9185b
935cf54
44deae2
c38ab67
c6a27be
cac174c
159ca1b
7467a47
08b820b
41b0fb9
94e25c3
61ea8ce
c9a0b91
cc92639
7baa0d3
3127dee
2429e55
00572e8
30f4e11
247b301
d08adfb
dbce5da
e1f9563
3f4ab54
92d97b7
6b2dcc9
b5bb517
25ca44a
7328324
00b2750
b04bb17
d4bd71b
af2ff80
80b4cf3
ee99f35
3841640
d84d108
0c43407
4c75035
3c49ed6
f7be666
4a260af
f67c513
41baab9
26754b7
ed18907
1e4bcef
2c1abf4
614fb8b
5f5e599
fe9736e
59ad5c6
d18c584
043d408
129eb3b
acc8517
c5ad240
0113d90
771029e
bfbbbf1
cadfd7f
56e582d
8e55f98
86d75d8
15671b0
057e067
44f7ad3
8e3b62b
aed1e02
1777fba
3a0384f
dba0b53
56f2ebc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,10 @@ <h4>no MathJax: Apple: $2, Orange: $3</h4> | |
<div id="graph"></div> | ||
</div> | ||
<div id="snapshot"></div> | ||
<div style="position:absolute; border-top: .3em solid #eee; bottom: 0px; left: 0; width: 100%"> | ||
<div style="margin-top: -1.2em; padding-left: 3px; font-weight: bold; color: #555; width:100%;">Closed Captions</div> | ||
<div id="c2m-plotly-cc" style="width: 100%; height: 40px; padding: 18px 0 0 15px; color: #333">Test</div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could have something more informative than "Test" here as the default value. |
||
</div> | ||
|
||
<script> | ||
window.MathJax = { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,21 @@ | |
} | ||
}, | ||
"config": { | ||
"accessibility": { | ||
marthacryan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"description": "Accessibility options: which library to use; whether to enable, options to pass to the library, info to pass to the library, closedCaptions to control how plotly renders the closed-captions element. chart2music is supported and options here include Options and Info from https://www.chart2music.com/docs/API/Config. ", | ||
"dflt": { | ||
"closedCaptions": { | ||
"elClassname": "c2m-plotly-closed_captions", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We might want to discuss whether we want to use the name of the tool in the schema. |
||
"elId": "c2m-plotly-cc", | ||
"generate": false | ||
}, | ||
"enabled": true, | ||
"info": {}, | ||
"library": "chart2music", | ||
"options": {} | ||
}, | ||
"valType": "any" | ||
}, | ||
"autosizable": { | ||
"description": "Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size.", | ||
"dflt": false, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we want this to be included in every test dashboard by default. Maybe we could add a special flag for that?