Skip to content

Commit

Permalink
Update: Add global question altFeedbackTitle property to schemas (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Jan 11, 2024
1 parent 6657b36 commit 7e77a72
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions schema/course.model.schema
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,15 @@
"translatable": true
}
}
},
"altFeedbackTitle": {
"type": "string",
"title": "Alternative Feedback Title",
"help": "Text read out by screen readers if no visual title is set for component question feedback.",
"default": "Feedback",
"inputType": "Text",
"required": false,
"translatable": true
}
}
},
Expand Down
9 changes: 9 additions & 0 deletions schema/course.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,15 @@
}
}
}
},
"altFeedbackTitle": {
"type": "string",
"title": "Alternative Feedback Title",
"description": "Text read out by screen readers if no visual title is set for component question feedback.",
"default": "Feedback",
"_adapt": {
"translatable": true
}
}
}
},
Expand Down

0 comments on commit 7e77a72

Please sign in to comment.