elk-zone / elk

A nimble Mastodon web client
https://elk.zone
MIT License
5.43k stars 558 forks source link

Ability to inactivate animated gifs in avatars #830

Open davidbgk opened 1 year ago

davidbgk commented 1 year ago

It can quickly be annoying/disturbing to have a timeline full of micro-mouvements.

This option exists in the default web client and it can be important for accessibility to some people:

Capture d’écran, le 2023-01-06 à 11 44 12
userquin commented 1 year ago

related to #774

prazdevs commented 1 year ago

Do we really need the preferences API, could we also use media queries (prefers-reduced-motion) ?

userquin commented 1 year ago

https://github.com/elk-zone/elk/blob/main/components/status/StatusAttachment.vue#L67

Geobert commented 1 year ago

I don’t know if it is related to this issue, but we can have animated username too https://main.elk.zone/mamot.fr/@mttaggart@fosstodon.org

(blinking cursor in the name)

boehs commented 1 year ago

(blinking cursor in the name)

This is (I think) an emoji, which would instead be hey, can we disable emoji animations, imo totally valid.

prazdevs commented 1 year ago

As part of a11y, any animation should be disabled on reduced-motion and as a setting as well. I'm even surprised autoplaying emojis can be in names too 🤔