Reduced Motion Auto-Play Video | scottohara.me

Reduced Motion Auto-Play Video

Published:

Jul 12, 2019

Auto-playing background videos can be annoying. However, beyond being a source of annoyance (or “user delight”, as some might say) they can be distracting for those who have difficulty staying focused, and potentially sickening for those with Vestibular disorders.

Fantastic…

If you find yourself in a situation where you have to implement an auto-playing background video, at the very least it should be accompanied by an accessible Play / Pause button. And if you’re trying to mitigate an absolute disregard for what the majority of people using the Internet want (e.g. their newly opened website not making a bunch of noise), a mute toggle button set to “pressed” by default.

Fortunately the reduced motion media query gives developers another chance at implementing such components in a way that will respect user preferences from an OS level.

As an FYI, the following reduced motion / animation OS settings will be respected by supporting browsers as noted on Can I Use:

  • Windows 10: go to Settings, Ease of Access, Display, “Show animations” toggle switch.
  • macOS: go to System Preferences, Accessibility, Display, “Reduce motion” checkbox.
  • iOS: go to Settings, General, Accessibility, Reduced Motion, [...]

Read article at scottohara.me

Article Taxonomies

Categories: ,
Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in /home/webable/www/www/wp-content/themes/webable/content-mcm.php:65 Stack trace: #0 /home/webable/www/www/wp-includes/template.php(812): require() #1 /home/webable/www/www/wp-includes/template.php(745): load_template('/home/webable/w...', false, Array) #2 /home/webable/www/www/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #3 /home/webable/www/www/wp-content/themes/webable/single-mcm_article.php(15): get_template_part('content-mcm') #4 /home/webable/www/www/wp-includes/template-loader.php(106): include('/home/webable/w...') #5 /home/webable/www/www/wp-blog-header.php(19): require_once('/home/webable/w...') #6 /home/webable/www/www/index.php(17): require('/home/webable/w...') #7 {main} thrown in /home/webable/www/www/wp-content/themes/webable/content-mcm.php on line 65