Skip to content

Tweak C39 and add new matching SCR40 #4404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

patrickhlauke
Copy link
Member

@patrickhlauke patrickhlauke commented May 18, 2025

  • Tweak existing C39 to provide extended example, and improve the prose
  • Tweak 2.3.3 understanding
  • Create new SCR40 technique that checks prefers-reduced-motion via JavaScript
  • Add SCR40 to the changelogs

Closes #3931

Previews:

* wrap mention of `prefers-reduced-motion` in code tags
* improve explanation for C39
* add a defensive reduced motion use (checking for `no-preference`) example code
Copy link

netlify bot commented May 18, 2025

Deploy Preview for wcag2 ready!

Name Link
🔨 Latest commit c54d106
🔍 Latest deploy log https://app.netlify.com/projects/wcag2/deploys/682a6773f097a60008f2c02b
😎 Deploy Preview https://deploy-preview-4404--wcag2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Provide JavaScript example of code for detecting prefers-reduced-motion
1 participant