Repository navigation
Alternativtext für Bilder an Antwortoptionen (#342) - #344
Merged
Merged
Conversation
…sfer) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ollapse, cap) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng-alt hint The option image dialog now asks for the image description (in the language of the option's active tab, max. 300 characters) next to the credit, with the AI "Suggest" when AI vision is on. An "Edit image" button reopens it for an existing image; replacing or removing an image clears its description. An image-only option without a description in the canonical content language shows a non-blocking "Image description missing" hint that opens the dialog in that language. Presenter option list and result bars (live and walkthrough) follow the rendering rule: img alt="" when the option has text, the resolved image_alt for image-only options. Refs #342 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#342) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eview panel (#342) Numbered fallback (Answer N), resolved alt on results/ordering/priorities, position in editor image button names, AI review img alt rule; e2e. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #342
Answer-option images get a bilingual alt text („Bildbeschreibung“) that is edited in the image dialog and rendered everywhere; image-only answers become properly named for screen readers.
What's in it
AnswerOption.image_alt(modeltranslation_de/_en, ≤300), exposed as{de,en}map in REST, SSE/presenter, results (choice, priorities, ordering). Migration 0067.alt=""), text is read once; image-only option → alt is the image's text and the choice's accessible name; without alt → „Antwort N“ / "Answer N" (priority bars, which are score-sorted, use text or alt only).AI_VISION, only on click); pencil „Bild bearbeiten“ reopens it; non-blocking hint „Bildbeschreibung fehlt“ for image-only options without a canonical-language alt (opens the dialog). Option-row buttons carry the answer number in their accessible names.Verification (isolated stack)
makemigrations --checkcleantsc -b,npm run buildOKDeferred
🤖 Generated with Claude Code