Drop the image description field
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:
1 parent
ebaf6fbe53
commit
7a80794ded
12 files changed
+110
-35
No files matched your search
@@ -107,7 +107,7 @@ class AdminControllerTest extends TestCase
|
||||
$slide = $this->slidesTable()->find()->contain(['SlideOptions'])->firstOrFail();
|
||||
$this->assertSame($poll->id, $slide->poll_id);
|
||||
$this->assertSame(['Pizza', 'Pasta'], array_map(fn($o) => $o->label, $slide->slide_options));
|
||||
$this->assertSame(['multiple' => true, 'comments' => false, 'time_limit' => 0], $slide->settings);
|
||||
$this->assertSame(['multiple' => true, 'comments' => false, 'comment_only' => false, 'time_limit' => 0], $slide->settings);
|
||||
$this->assertSame(1, $slide->position);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class ChoiceCommentsTest extends TestCase
|
||||
{
|
||||
[, $token] = $this->createPoll();
|
||||
$this->get("/admin/$token/slides/add?type=choice");
|
||||
$this->assertResponseContains('name="settings[comments]"');
|
||||
$this->assertResponseContains('name="settings[comment_mode]"');
|
||||
|
||||
$this->post("/admin/$token/slides/add?type=choice", [
|
||||
'type' => 'choice',
|
||||
|
||||
Reference in new issue
Block a user