LottieFiles / lottie-react

lottie web player as a react component
https://lottiefiles.com
MIT License
721 stars 80 forks source link

Add ariaLabel prop to support ADA #63

Open sparkbone opened 2 years ago

sparkbone commented 2 years ago

Overview

To support ADA-related concerns, add an ariaLabel prop (or similar) which would add an aria-label attribute on the "parent" div, (the div which currently has the id attribute).

Type

Motivation

Update lottie-react library to be more ADA compliant.

...

Labels

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

nattius1983 commented 1 year ago

@sparkbone any update on this issue please? We wanted to be able to hide an animation from our screen readers use as it doesn't add any value but we couldn't hide your controls on the animation without introducing an issue for keyboard only users! Thanks in advance.

lbaron-ut commented 1 year ago

This is the pull request adding aria-label to the control buttons. https://github.com/LottieFiles/lottie-react/pull/112

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.