Drop the image description field
CI / Deploy / PHP 8.4 (push) Successful in 1m36s
CI / Deploy / PHP 8.5 (push) Successful in 1m36s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

Slide images are shown on the presenter's screen, so a description for
screen readers is not asked for any more. The column stays (always empty).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-21 13:35:48 +01:00
1 parent ebaf6fbe53
commit 7a80794ded
12 files changed
+110 -35

No files matched your search

+6 -3
View File
@@ -282,13 +282,16 @@ $countdown = function (?int $remaining): string {
<label class="choice">
<input type="<?= $multiple ? 'checkbox' : 'radio' ?>"
name="<?= $multiple ? 'option_ids[]' : 'option_id' ?>"
value="<?= (int)$option->id ?>" <?= $multiple ? '' : 'required' ?>>
value="<?= (int)$option->id ?>" <?= $multiple || $slide->hasCommentOnly() ? '' : 'required' ?>>
<span><?= h($option->label) ?></span>
</label>
<?php endforeach; ?>
</div>
<?php if ($slide->hasComments()) : ?>
<label class="scale-comment" for="choice-comment"><?= __('Kommentar (optional)') ?></label>
<?php if ($slide->hasCommentOnly()) : ?>
<p class="hint"><?= __('Du kannst auch nur einen Kommentar abgeben, ohne etwas auszuwählen.') ?></p>
<?php endif; ?>
<textarea id="choice-comment" name="comment" rows="3" maxlength="500"
placeholder="<?= __('Möchtest du deine Auswahl begründen?') ?>"></textarea>
<?php endif; ?>
@@ -359,8 +362,8 @@ $countdown = function (?int $remaining): string {
} ?></h2>
<?php if ($words !== null && $words['allowUpvotes'] && $slide->is_voting_open) : ?>
<p class="hint" data-upvote-hint><?= $words['allowDownvotes']
? __('Tippe auf einen Begriff, um ihn zu unterstützen, oder auf „−“, um ihn abzulehnen.')
: __('Tippe auf einen Begriff, um ihn zu unterstützen.') ?></p>
? __('Tippe auf „+“, um einen Begriff zu unterstützen, oder auf „−“, um ihn abzulehnen.')
: __('Tippe auf „+“, um einen Begriff zu unterstützen.') ?></p>
<?php endif; ?>
<div data-results></div>
</section>