const animation = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
https://assets.toot.cafe/media_attachments/files/113/589/603/504/282/908/original/95cad9aca1b799c6.png
Did you know that checking if end users want animations or not in your app is a JS one liner?
#accessibility #JS
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.