Repository navigation
Warn authors when a QTI question has more than 5 options - #6356
Open
rtibblesbot wants to merge 1 commit into
Open
rtibblesbot wants to merge 1 commit into
rtibblesbot wants to merge 1 commit into
Conversation
- Choice, ordering, associate, match and inline choice editors show a non-blocking warning past 5 options, pairs, rows or distractors - ValidationMessage announces warnings appearing in the same frame together, after drag-sort's frame-deferred order announcement; its `alert` prop is renamed `announce` and now gates warnings too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rtibblesbot
force-pushed
the
issue-6345-399c27
branch
from
October 30, 2026 05:23
398d93f to
9cd46da
Compare
rtibblesbot
marked this pull request as ready for review
October 30, 2026 05:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
References
Closes #6345. Related: #6316.
Reviewer guidance
Suggested review: Full code review, then manual QA once the reviewer sets Needs QA.
contentcuration/contentcuration/frontend/shared/views/QTIEditor/components/ValidationMessage/index.vue,contentcuration/contentcuration/frontend/shared/views/QTIEditor/constants.js,contentcuration/contentcuration/frontend/shared/views/QTIEditor/interactions/associate/Editor.vue,contentcuration/contentcuration/frontend/shared/views/QTIEditor/interactions/choice/Editor.vue,contentcuration/contentcuration/frontend/shared/views/QTIEditor/interactions/inlineChoice/Editor.vue….ValidationMessageshould keep its module-level queue, which defers every QTI warning announcement by one frame, including the existing single-option one, and lets it override an order announcement sent in that frame.Manual QA
QA team: question editors warn past 5 list entries. Screen reader announcements are the most probable regression.
Requires: a screen reader and an exercise's Questions tab.
Look out for:
Ordering, Multi select, "Show answers" and saving were verified.
Evidence
Single choice: 5 → 6 → 5 options
Single choice announcements: 2 → 1 → 6 → 5 options, close and reopen
single-choice-announcements.webm
More captures (27)
Single choice 1 → 2 → 1 → 6 options:
s3-single-choice-1-2-1-6-options.webm
Multi select close, save, reopen:
multi-select-close-save-reopen.webm
Ordering 5 → 6 → 5 items:
ordering-add-6th-remove-to-5.webm
Associate, delete distractor then pair:
s5-associate-remove-distractor-then-pair.webm
Inline choice panel add, remove, reorder:
inline-panel-add-remove-reorder.webm
AI usage
Claude Code wrote the warnings and tests; verified with editor Jest suites, pre-commit, and headless-Chromium screenshots plus axe.
Written by rtibblesbot, an LLM-based coding agent.
🟡 Waiting for feedback
Last updated: 2026-10-30 11:50 UTC