Reduced motion preference can be harmful
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css
- Domain
- accessibility, frontend
Research direction
No repository file or test is named. Start by locating the reduced-motion reset discussed in the issue and reproduce the supplied scroll-timeline CSS example in a browser that supports it; done means the default no longer leaves the container permanently transparent for users with reduced motion enabled.
Written by the indexing model from the issue text.
Description
Hey folks, with scroll- and view-timeline animations around the corner. I think the reduced motion preference reset might not be a good default recommendation anymore. It can cause UI breakages on browsers that support these alternative timeline animations and reduced motion preference is active.
For example
@keyframes to-transparent {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.container {
animation-name: to-opaque;
animation-timeline: --scrollTimeline;
animation-fill-mode: both;
}
will cause .container to be permanently transparent for users with reduced motion preference.
I'm happy to open a PR.
- Dominant language
- CSS
- Stars
- 5.3k
- Forks
- 299
- PR merge metrics
- No merged PRs in 30d
Contributor 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 csstools/sanitize.css
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
csstools/sanitize.css#243 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
csstools/sanitize.css#253 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
csstools/sanitize.css#251 ·
-
ui-monospace Open
Difficulty 2/5 Under an hour Newbie friendliness 52/100
csstools/sanitize.css#249 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
csstools/sanitize.css#248 · 1 reaction ·
All issues in csstools/sanitize.css
Similar issues
-
accessibility angular bug good first issue typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/fineract-backoffice-ui#584 · 1 comment ·
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
spartan-ng/spartan#1763 ·
-
Access Score Gallery Label Map
Difficulty 2/5 Half a day Newbie friendliness 68/100
ProjectSidewalk/SidewalkWebpage#5430 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100