[feat] Support prefers-reduced-motion disabling auto-play of animated images #324

Open
opened 2023-07-20 08:27:59 +00:00 by evie · 0 comments

The idea

If a user has prefers-reduced-motion set (via their system accessibility settings), animated images (emojis, reactions, profile pictures, etc) shouldn't play and instead require a user to hover over them to play.

The reasoning

This is essentially an accessibility issue, users who have prefers-reduced-motion set expect moving imagery to either be reduced or not animated at all.

As an example, if a user who has prefers-reduced-motion set accidentally views a post (because it was linked to them or they saw it in one of their timelines) that has a large amount of animating emojis either in its contents or reactions, it could cause serious injury to that user. This example could also be applied via profile pictures.

I'm essentially proposing that the setting "Pause animated images until you hover on them" be turned on automatically if prefers-reduced-motion is detected to both logged in and logged out users, especially logged out users as they don't have the option of turning that on without them having an account on the instance they're viewing.

Have you searched for this feature request?

  • I have double-checked and have not found this feature request mentioned anywhere.
  • This feature is related to the pleroma-fe Akkoma frontend specifically, and not the backend.
### The idea If a user has prefers-reduced-motion set (via their system accessibility settings), animated images (emojis, reactions, profile pictures, etc) shouldn't play and instead require a user to hover over them to play. ### The reasoning This is essentially an accessibility issue, users who have prefers-reduced-motion set expect moving imagery to either be reduced or not animated at all. As an example, if a user who has prefers-reduced-motion set accidentally views a post (because it was linked to them or they saw it in one of their timelines) that has a large amount of animating emojis either in its contents or reactions, it could cause serious injury to that user. This example could also be applied via profile pictures. I'm essentially proposing that the setting "Pause animated images until you hover on them" be turned on automatically if prefers-reduced-motion is detected to both logged in and logged out users, especially logged out users as they don't have the option of turning that on without them having an account on the instance they're viewing. ### Have you searched for this feature request? - [x] I have double-checked and have not found this feature request mentioned anywhere. - [x] This feature is related to the pleroma-fe Akkoma frontend specifically, and not the backend.
Mergan added the
a11y
label 2023-07-20 23:28:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#324
No description provided.