Skip to content
New issue

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

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

Already on GitHub? # to your account

Making Skeleton component A11y Friendly: increase colour contrast and reduced motion #338

Open
saydex opened this issue Mar 4, 2020 · 1 comment
Labels
type: feature new feature or enhancement of existing component

Comments

@saydex
Copy link

saydex commented Mar 4, 2020

Problem statement

As a user relying on accessible technology, I'd like to be able to see higher contrast and reduced motion on the loading screen using skeleton so I can properly interact with the site.

Recommendation

  1. Change the colour to use Raven Grey
Hex: #71757B
JS: colorGreyRaven
  1. Disable animation with media query
    https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
@media (prefers-reduced-motion: reduce) {
  .animation {
    animation: none;
  }
}

Meta

  • TDS version (npm or DSM): Skeleton component Version: 3.0.1
  • Willing to develop solution: Maybe
  • Has workaround: No
  • High impact: Medium

Screenshots

  • Include any relevant screenshots

Screen Shot 2020-03-04 at 2 56 05 PM

@saydex saydex added the type: feature new feature or enhancement of existing component label Mar 4, 2020
@varunj90
Copy link
Contributor

varunj90 commented Mar 9, 2020

Hey @saydex , great recommendations, you can submit a PR!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type: feature new feature or enhancement of existing component
Projects
None yet
Development

No branches or pull requests

2 participants