diff --git a/public/demo-form-elements/config.json b/public/demo-form-elements/config.json index 1e4a25b42d..1395f32d63 100644 --- a/public/demo-form-elements/config.json +++ b/public/demo-form-elements/config.json @@ -687,6 +687,47 @@ } ] }, + "Auto advance": { + "type": "questionnaire", + "response": [ + { + "id": "math-buttons", + "type": "buttons", + "prompt": "Complex calculation that use buttons with auto-advance.", + "secondaryText": "What does 53 + 98 equal?", + "infoText": "Choose the option that is correct.", + "options": [ + { + "label": "162", + "value": "162" + }, + { + "label": "149", + "value": "149" + }, + { + "label": "151", + "value": "151" + }, + { + "label": "137", + "value": "137" + } + ], + "autoAdvanceToNextStep": true, + "autoAdvanceDelay": 5000, + "allowResponseChange": false + } + ], + "correctAnswer": [ + { + "id": "math-buttons", + "answer": "151" + } + ], + "provideFeedback": true, + "trainingAttempts": 1 + }, "Default Values": { "type": "questionnaire", "response": [ @@ -1422,6 +1463,7 @@ "Text Validation", "Default Values", "Custom Response", + "Auto advance", "Randomizing Options", "Randomizing Questions", "Ranking Widgets", diff --git a/public/demo-html-input/assets/bar-chart-interaction.html b/public/demo-html-input/assets/bar-chart-interaction.html index 2584c69fa1..f8b58fdeda 100644 --- a/public/demo-html-input/assets/bar-chart-interaction.html +++ b/public/demo-html-input/assets/bar-chart-interaction.html @@ -20,7 +20,7 @@
- + + + + +Click a bar to record its value and automatically continue after 300 milliseconds. + You can also focus a bar with Tab and select it with Enter or Space.
+ +No bar selected.
+ + +