ElaborativeQuestion
Generated from front/ui/catalogue/examples/ElaborativeQuestion.json
learning · static (no JavaScript) · no children. All components: component playground.
Description for the model
Section titled “Description for the model”An open question that asks the learner to explain an idea in their own words, with an optional notes field. What the learner types stays on their device; nothing is sent. Used in extra help.
Live example
Section titled “Live example”Rendered from the example props below with the real component. Theme: coffee · oncall · nightsky · gravity · poland · ulam · platform · open on its own
Example
Section titled “Example”{ "component": "ElaborativeQuestion", "props": { "title": "Say it in your own words", "markdown": "Why does a finer grind make the coffee taste more bitter when the brew time stays the same?" }}| Prop | Type | Required | Notes |
|---|---|---|---|
title |
string | yes | Heading of the block. max length 120 |
markdown |
string | yes | Markdown, at most 1 800 characters; raw HTML is escaped. max length 1800 |
locale |
"en" | "pl" | "zh" |
Interface language of the fixed strings; filled by the app, authors and models leave it out | |
id |
string | Anchor id for in-page links (letters, digits, dashes). max length 40 |
Text fallback
Section titled “Text fallback”What a text-only client, an unknown renderer or a plain-text channel shows for the example above.
Say it in your own wordsWhy does a finer grind make the coffee taste more bitter when the brew time stays the same?Invalid props
Section titled “Invalid props”A node whose props fail the schema never breaks the page: the renderer shows the plain-text fallback instead (and logs the issues in development).
{ "title": "Missing the question"}Issues:
/markdownis required
Rendered as:
Missing the questionAccessibility
Section titled “Accessibility”axe-core: 16 rules passed, 0 violations, 0 need manual review. Run at build time on the server-rendered HTML in jsdom. Colour contrast and layout rules need a browser and are covered by the Playwright axe scans of the reference frontend.