Accept arrow up/down for slide navigation in the presenter view
Presenter remotes often send ArrowUp/ArrowDown instead of left/right. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cad09163d9
commit
bf9f86d24a
3 files changed
+7
-5
No files matched your search
@@ -3,7 +3,7 @@
|
||||
* Presenter screen. Rendered empty and filled by webroot/js/plenario.js
|
||||
* (Plenario.presenter) from /admin/{token}/state.
|
||||
*
|
||||
* Keyboard: ←/→ slides, P pause/resume (→ resumes too), V voting on/off, H hide results, F fullscreen, Q QR code, T light/dark.
|
||||
* Keyboard: ←/→ (also ↑/↓ and PageUp/PageDown, as sent by presenter remotes) slides, P pause/resume (→ resumes too), V voting on/off, H hide results, F fullscreen, Q QR code, T light/dark.
|
||||
* The speaker view (admin:speaker) is this page plus a preview of the next slide, meant for the presenter's own screen.
|
||||
* Q&A slides: V switches to the next stage; while discussing ←/→ step through the questions first.
|
||||
*
|
||||
@@ -66,11 +66,11 @@ $host = preg_replace('#^https?://#', '', $joinBaseUrl);
|
||||
<span aria-hidden="true">⧉</span><span class="sr-only"><?= __('Referentenansicht öffnen') ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<button type="button" class="ctrl" data-action="prev" aria-keyshortcuts="ArrowLeft PageUp" title="<?= __('Vorherige Folie (←)') ?>">
|
||||
<button type="button" class="ctrl" data-action="prev" aria-keyshortcuts="ArrowLeft ArrowUp PageUp" title="<?= __('Vorherige Folie (←)') ?>">
|
||||
<span aria-hidden="true">←</span><span class="sr-only"><?= __('Vorherige Folie') ?></span>
|
||||
</button>
|
||||
<span class="ctrl-counter" data-counter>–</span>
|
||||
<button type="button" class="ctrl" data-action="next" aria-keyshortcuts="ArrowRight PageDown Space" title="<?= __('Nächste Folie (→ oder Leertaste)') ?>">
|
||||
<button type="button" class="ctrl" data-action="next" aria-keyshortcuts="ArrowRight ArrowDown PageDown Space" title="<?= __('Nächste Folie (→ oder Leertaste)') ?>">
|
||||
<span aria-hidden="true">→</span><span class="sr-only"><?= __('Nächste Folie') ?></span>
|
||||
</button>
|
||||
<button type="button" class="ctrl" data-action="stop" data-pause aria-keyshortcuts="P" title="<?= __('Pause: Teilnehmende sehen eine Pause-Seite (P)') ?>"
|
||||
|
||||
Reference in new issue
Block a user