Demo
- One question on screen, its number above it; Next moves on, Previous goes back, Skip leaves an optional question out.
- Letters (A, B, C) choose a choice from the keyboard.
Multiple selection
- A square box for each choice when more than one can be picked; a circle when only one can.
Freeform answer
- A free answer sits under the choices as a DS field, named by aria-label.
Explicit skip
- Skip only shows on a question that isn't required, and says Skipped in the answers.
Shortcuts
- Letters, numbers or none; the shortcut sits at the end of each choice.
Custom validation
- A rule across two answers shows its message on the question it belongs to, with the octagon, and takes the person back there.
Controlled
- The page can know and set which question is showing; the line above says which one in words.
Current checkpoint: What kind of visit is this?
Resume
- Answers saved earlier come back checked; Reset Changes restores them.
Conditional items
- A question can depend on an earlier answer: the rehab centre question only appears for a rehab centre.
Custom progress
- Progress can be drawn as steps instead of numbers; the numbers stay for screen readers.
Animated items
- Each question slides in, and holds still under reduced motion.
Card
- Inside a DS Card: the question in the card head, the buttons in its footer.
Dialog
- Inside a Dialog: an Evantis close and Cancel, the questions in the body.