Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animated avatars play constantly without option to stop them (WCAG 2.1 / 2.2.2 violation) #18442

Open
Mikaela opened this issue Aug 7, 2021 · 7 comments
Labels
A11y A-Avatar A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@Mikaela
Copy link
Contributor

Mikaela commented Aug 7, 2021

Steps to reproduce

  1. use a homeserver with animations enabled e.g. the-apothecary.club
  2. join a room with someone who has animated avatar (e.g. #matrix:matrix.org)
  3. see someone with an animated avatar say something

What happened?

The animation plays constantly and there is no way to stop it, so focus moves from the messages to it.

What did you expect?

Element either doesn't play it constantly or has an option to stop it. See suggestions at https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide.html

Operating system

Fedora 34

Browser information

Microsoft Edge 93.0.961.11 (Virallinen koontiversio) beta (64-bittinen)

URL for webapp

develop.element.io

@SimonBrandner SimonBrandner added A-Avatar O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround A-Media labels Aug 7, 2021
@Mikaela
Copy link
Contributor Author

Mikaela commented Aug 7, 2021

I think this is missing the A11y label

@kittykat
Copy link
Contributor

Hi @Mikaela do you mean that animations take up user focus or something else like keyboard/screenreader focus?

@Mikaela
Copy link
Contributor Author

Mikaela commented Sep 15, 2021

User focus, please see e.g. https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide.html

@Palid
Copy link
Contributor

Palid commented Sep 15, 2021

I think we should definitely not play those animations if user has a reduced animations setting in the browser (or/and maybe some app settings too?) but I can't really figure out any good UX to start/stop those without breaking current user experience. Clicking on the avatar already does something, so that'd be a huge UX breaking change.

@janogarcia
Copy link

janogarcia commented Sep 15, 2021

@Palid Maybe we could just disable autoplay on avatar GIFs if the user has prefers-reduced-motion enabled, and then optionally play the animation only on hover for those users? The hover action would work as the start/stop control.

@HarHarLinks
Copy link

this includes the use of avatars as blurred background to the room list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y A-Avatar A-Media O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

No branches or pull requests

6 participants