keyboard nav

This commit is contained in:
mi
2025-11-14 15:43:28 +10:00
parent ecbc75e447
commit 7a9f64ee17
2 changed files with 65 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ Don't have a server? No problem! Here are beginner-friendly options to get your
- Comic viewer with navigation (First, Previous, Next, Latest)
- Client-side navigation using JSON API (no page reloads)
- Keyboard navigation support (arrow keys, Home/End)
- Archive page with thumbnail grid
- RSS feed support
- Markdown support for author notes and about page
@@ -389,6 +390,25 @@ SOCIAL_YOUTUBE = 'https://youtube.com/@yourchannel'
SOCIAL_EMAIL = 'mailto:your@email.com'
```
## Navigation
Sunday Comics provides multiple ways for readers to navigate through your comic:
### Mouse/Touch Navigation
- **Navigation buttons**: First, Previous, Next, Latest buttons (text or icon-based)
- **Click-through**: Click on the comic image to advance to the next comic
- **Archive grid**: Click any thumbnail to jump directly to that comic
### Keyboard Navigation
When viewing a comic, readers can use keyboard shortcuts for quick navigation:
- **Left Arrow** (`←`) - Go to previous comic
- **Right Arrow** (`→`) - Go to next comic
- **Home** - Jump to first comic
- **End** - Jump to latest comic
Keyboard shortcuts respect navigation boundaries (won't navigate before the first comic or past the latest) and don't interfere with typing in input fields.
## Pages
- `/` - Shows the latest comic