danielcgilibert / blog-template

📚 Openblog is an elegant, simple, and user-friendly blog. Focused on accessibility, SEO and performance.
https://blog-template-gray.vercel.app
GNU General Public License v3.0
658 stars 235 forks source link

Reduced motions are not respected #35

Open httpsterio opened 1 year ago

httpsterio commented 1 year ago

Hey, I really like this template and you've done some great work with it!

I'd like to point out that you're currently not checking whether the user has reduced motions set in their OS. I'm not entirely sure how Astro works but I'd think it wouldn't be too hard to check if reduced motions is enabled before you set the animations == true value.

I think from an accessibility point of view, it would be a nice feature to implement.

danielcgilibert commented 1 year ago

Thank you for suggesting that improvement. I will keep that improvement in mind to add it in future enhancements to the template. Thank you for the idea.