-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.json
51 lines (49 loc) · 1.34 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"_id":"c-05",
"_parentId":"b-05",
"_type":"component",
"_component":"textEntry-audio",
"_classes":"",
"_layout":"full",
"_recordInteraction": true,
"_canShowFeedback": true,
"_showUserAnswer": true,
"_setCompletionOn": "submitted",
"title":"Title text",
"displayTitle":"Display title text",
"body":"Body text",
"instruction":"Instruction text",
"placeholder": "Enter your thoughts here",
"_characterLimit": {
"_isEnabled": true,
"_max": 255,
"text": "Characters remaining:"
},
"_buttons": {
"_submit": {
"buttonText": "Submit",
"ariaLabel": "Select here to submit your answer."
},
"_showFeedback": {
"buttonText": "Show feedback",
"ariaLabel": "Select here to see the answer."
},
"_closeFeedback": {
"buttonText": "Close feedback",
"ariaLabel": "Select here to close the answer."
}
},
"_feedback": {
"title": "Title",
"answerTitle": "Answer title",
"userTitle": "User title",
"body": "Feedback text.",
"_audio": {
"src": "course/en/audio/***.mp3"
}
}
}
// Accessibility supported courses require ARIA instruction - apply to _globals in course.json
"_textEntry-audio": {
"ariaRegion": "This question requires you to input your answer in the textbox provided. When you have done so, select the submit button below."
}