Repository navigation
feat: accessibility and theming improvements - #145
Merged
Merged
Conversation
therealsama
force-pushed
the
feat/accessibility
branch
from
June 11, 2026 20:39
a2a7b36 to
d85f4ed
Compare
therealsama
force-pushed
the
feat/accessibility
branch
7 times, most recently
from
June 12, 2026 18:59
6bc7d71 to
c132d0b
Compare
- Skip link (WCAG 2.4.1): "Skip to main content" is now the first focusable element, offscreen until focused. Focuses <main> via onClick rather than a native `#main` jump (which HashRouter would treat as a non-existent route and render the 404 page). - color-scheme: :root defaults to `light` to avoid a pre-hydration dark flash; html.light / html.dark pin the UA scheme to the in-app theme; the meta in index.html advertises both. - Reduced motion: a global prefers-reduced-motion baseline near-zeros incidental animation/transition durations (not `animation: none`, so transition/animation -end listeners still fire); JS-driven motion (smooth scroll-to-top, swipe cancel/snap-back) bypasses the CSS rule, so it reads the preference live per action via a shared prefersReducedMotion() helper.
therealsama
force-pushed
the
feat/accessibility
branch
from
June 13, 2026 07:30
c132d0b to
2a996d4
Compare
therealsama
enabled auto-merge
June 13, 2026 08:04
kplachkov
approved these changes
Jun 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
element, offscreen until focused. Focuses via onClick rather than a
native
#mainjump (which HashRouter would treat as a non-existent routeand render the 404 page).
lightto avoid a pre-hydration dark flash;html.light / html.dark pin the UA scheme to the in-app theme; the meta in
index.html advertises both.
animation/transition durations (not
animation: none, so transition/animation-end listeners still fire); JS-driven motion (smooth scroll-to-top, swipe
cancel/snap-back) bypasses the CSS rule, so it reads the preference live per
action via a shared prefersReducedMotion() helper.