Skip to content

Add a scroll-down hint when more content is below the fold - #2

Merged
mstovicek merged 2 commits into
masterfrom
scroll-hint
Nov 1, 2026
Merged

mstovicek merged 2 commits into
masterfrom
scroll-hint

Conversation

@mstovicek

Copy link
Copy Markdown
Contributor

On a phone the Winners page ends just after the podium, so it is not obvious there is more below.

  • Small gold chevron in a round button above the bottom menu, with a gentle nudge animation (off under prefers-reduced-motion).
  • Shown only while the page is at the top and runs on below the fold; fades out after the first scroll and on pages that fit the screen.
  • Tapping it scrolls down about 70% of a screen. Out of the tab order and hidden from screen readers (tabindex=-1), since scrolling is already available to them.
  • Safe-area aware, so it sits above the menu on iPhones.

Tests: validate.py, 41 JS tests and 70 Python tests pass. Not yet checked on a real phone.

🤖 Generated with Claude Code

mstovicek and others added 2 commits November 1, 2026 20:59
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mstovicek
mstovicek merged commit 687d9a8 into master Nov 1, 2026
2 checks passed
@mstovicek
mstovicek deleted the scroll-hint branch November 1, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant