Skip to content
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

[docs][workflows]: add more info & controls for Working with GIFs #14755

Closed
marcysutton opened this issue Jun 13, 2019 · 0 comments · Fixed by #15539
Closed

[docs][workflows]: add more info & controls for Working with GIFs #14755

marcysutton opened this issue Jun 13, 2019 · 0 comments · Fixed by #15539
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@marcysutton
Copy link
Contributor

marcysutton commented Jun 13, 2019

Summary

Continuing on from #14529, the new page on Working with GIFs has two improvements to be made:

  1. Add controls to pause the animating GIF on page load to not pose accessibility problems for users with motion sensitivity, perhaps with react-gif-player;
  2. Explain the phrase "beware that flashing and autoplaying GIFs can cause accessibility problems" with a bit more detail. We could certainly mention it violates WCAG 2.2.2 for "pause, stop, hide". Some resources for reference material:

We need to do this as part of our own commitment to accessibility in Gatsby, but we also want to take every opportunity to teach best practices–and this is a best practice for working with animation and motion on the web.

@marcysutton marcysutton added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Jun 13, 2019
@marcysutton marcysutton added the topic: media Related to gatsby-plugin-image, or general image/media processing topics label Jun 20, 2019
marcysutton pushed a commit that referenced this issue Jul 8, 2019
marcysutton pushed a commit that referenced this issue Jul 9, 2019
* fix: remove motion from GIFs page

Closes #14755

* chore: format
johno pushed a commit to johno/gatsby that referenced this issue Jul 17, 2019
* fix: remove motion from GIFs page

Closes gatsbyjs#14755

* chore: format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants