new-xkit / XKit

Fork of XKit, the extension framework for Tumblr
https://new-xkit-extension.tumblr.com
Other
459 stars 135 forks source link

Are their any settings or extensions to block javascript-based animation? #1913

Open MarjaE2 opened 4 years ago

MarjaE2 commented 4 years ago

Some blocks use javascript to make text flash and/or animate. Migraine trigger and seizure risk. Hard to diagnose in Firefox because when the text flashes, the diagnostic tools flash too.

marcustyphoon commented 3 years ago

This feature has been added to AccessKit in XKit Rewritten!

@lihatt, I know you were interested in this as well.

arcanetrivia commented 3 years ago

Ummmm I only sort of remember - I think it was a wish for elements of XKit itself not to fade or slide in...? Which is sort of moot now that the extension options aren't invoked from the dashboard in the same way.

I looked at the closed PRs in Xkit Rewritten and tried filtering to "Accesskit" but I only see one for the "show alt text as captions" option. What "layout element animations" are disabled if I toggle that option on?

marcustyphoon commented 3 years ago

Ah, found it!

generally speaking I do prefer page interactions (not just XKit/Tumblr, globally anywhere) to have only the minimum animation necessary to provide accurate feedback on the action. Sliding, rotating, fading etc. behaviors rarely seem to provide extra useful information IMO.

Originally posted by @lihatt in https://github.com/new-xkit/XKit/issues/1954#issuecomment-673179084

XKit Rewritten's development is mostly done by April in direct commits rather than PRs! You can see summaries of changes in the release history: https://github.com/AprilSylph/XKit-Rewritten/releases/ (or browse the commit history of the main branch if you wanna see every change!)

The option I'm referring to is indeed that new checkbox in AccessKit. It disables almost all of the animationn on Tumblr itself. Try clicking the search box or activity or account dropdowns in the top right of the page, or navigating to a page like Explore and looking at the three-bouncy-boxes placeholder before the page content loads in!

It's a subtle difference, of course, but I love the snappiness of losing the fades and scroll-ups, and of course it should be great for people like MarjaE2 where the movement is a problem.

arcanetrivia commented 3 years ago

Oh that sounds nifty. Thanks, I will try it out!