Open tweenn opened 1 year ago
There are 2 parts to this issue:
background-media
component to check for user's reduced-motion
setting – disable video autoplay
if detected@oliviaflory @RichKummer Confirmed prefers-reduced-motion
is already present in background-media
component. The video will not autoplay when the user has this setting enabled. So we only need to select a new video.
@tweenn Thank you for opening this issue!
We spoke with our accessibility team and determined that we are OK to keep the looping video as along as:
prefers-reduced-motion
is present, so the video will not auto play if the user has this enabled on their deviceThe current video example in the lead space and background media components is not compliant. We need to find an alternative video, something more ambient like this example from MaaS360. Do you or Jerry know how we could get access to Media Center to find a better video that would be in compliance?
Description
Able@IBM in rule
2.2.2 Play, Pause, Hide
states: Source: https://www.ibm.com/able/requirements/requirements/As the leadspace video in the background is not considered an essential animation, it should be limited to 5 seconds max duration with a limit of 3 blinks.
Said that, I know you guys can't control the video from Mediacenter that a user may input in the component and trying to figure a code to restrain a user from misbehaving would be impossible, so...
TLDR:
Removing the looping of the components is essential and it's nice to have a note into the docs around the accessibility best practices.
Note: I didn't look around all the components that may be potentially affected by this issues aside the leadspaces with video that are linked in the components impacted section - which I know are web-components only, the react package don't have 'em - buuuuuuut this may affect other "autoplay" components that are not related to a user gesture.
Component(s) impacted
Carbon for IBM dot Com webcomponets that have media in autoplay of any order. I have identified the following:
Browser
No response
Carbon for IBM.com version
Latest
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
MediaCenter
Package
@carbon/ibmdotcom-react, @carbon/ibmdotcom-web-components, @carbon/web-components
CodeSandbox example
Not needed
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct