No prefers-reduced-motion CSS support
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- css, jekyll
- Domain
- accessibility, frontend
Research direction
Start with the listed transitions in assets/css/custom.css and the inline style block in _pages/feedback.md. Compare the existing styles with the proposed prefers-reduced-motion override and confirm that both stylesheets cover the affected animations and transitions. Done means reduced-motion users no longer receive the non-essential motion on either page.
Written by the indexing model from the issue text.
Description
Summary
assets/css/custom.css and _pages/feedback.md contain several CSS transitions and animations but none are wrapped in a prefers-reduced-motion media query. Users who have requested reduced motion (via OS accessibility settings) will still see all animations play.
Affected transitions
In assets/css/custom.css:
.badge—transition: background-color 0.2s ease, color 0.2s ease(line 60)- Card hover effects —
transition: box-shadow 0.2s ease(line 121) - Mobile menu slide —
transition: transform 0.3s ease(line 382, 410)
In _pages/feedback.md:
.fb-conditionalshow/hide —transition: max-height 0.3s ease, opacity 0.25s ease(line 190).fb-followupshow/hide —transition: max-height 0.4s ease, opacity 0.3s ease(line 227)- Rating/pill button interactions —
transition: all 0.15s ease(line 110, 162)
Fix
Wrap all non-essential transitions in a reduced-motion override at the end of the stylesheet:
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
This blanket approach is safe for this site since no animations convey essential information. Add it to the end of assets/css/custom.css. The feedback form styles in feedback.md should also get the same override in their inline <style> block.
WCAG criterion
2.3.3 Animation from Interactions (Level AAA) — while AAA, this is a straightforward improvement for users with vestibular disorders.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 6
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CivicTechTO/civictech.ca
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CivicTechTO/civictech.ca#192 ·
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
CivicTechTO/civictech.ca#189 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CivicTechTO/civictech.ca#186 ·
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CivicTechTO/civictech.ca#184 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CivicTechTO/civictech.ca#101 ·
All issues in CivicTechTO/civictech.ca
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
deltachat/deltachat-ios#3411 · 1 reaction ·
Maintainers usually reply within 1 day
-
affecting 5.2 only affecting 5.3 only bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
moodle-an-hochschulen/moodle-theme_boost_union#1463 ·
Maintainers usually reply within 1 day
-
[Bug]: SQL cells cannot be opened with the keyboardPossibly taken @thc1006 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jaegertracing/jaeger-ui#4657 ·
Maintainers usually reply within 2 days
-
UI/UX improvementsOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
dnerever/OpenRecipe#73 ·
Maintainers usually reply within 1 day
-
a10y a10y-audit ai-driven-qa claude
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
linagora/twake-directory-manager#219 ·
Maintainers usually reply within 1 day