博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
[ARIA] Accessible animations with reduced motion
阅读量:4983 次
发布时间:2019-06-12

本文共 728 字,大约阅读时间需要 2 分钟。

Animations can make people sick, or worse! By adding animation toggles and listening in to the user's system preference for reducing motion on OSX and iOS, we can give them more control over our interfaces. Animation can be a safety issue; let's do something about it!

Warning: there is a flashing animation in the video.

In this lesson:

WCAG 2.1, Guideline 2.3: Seizure risks

Your Interactive Makes Me Sick

 

 

/* if reduced-motion is selected on OSX/iOS, here you can stop all the animation and hide all the control buttons */@media (prefers-reduced-motion) {  /* hide toggle button */  #animation-toggle {    display: none;  }  /* make sure animations actually stop */  ...}

 

转载于:https://www.cnblogs.com/Answer1215/p/11523083.html

你可能感兴趣的文章
NTP协议详解
查看>>
Java学习之equals和hashcode的关系
查看>>
问题-delphi XE2 Stack Overflow- save your work and restart CodeGear
查看>>
一页纸商业计划书 (Business Plan) 模板(转载)
查看>>
什么是html
查看>>
妙用python之编码转换
查看>>
hdu 4451 Dressing 衣服裤子鞋 简单容斥
查看>>
TTTTTTTTTTTT Gym 100818B Tree of Almost Clean Money 树连剖分+BIT 模板题
查看>>
linux一些基本常识(四)
查看>>
Docker架构
查看>>
C#设计模式(3)——工厂方法模式
查看>>
过目不忘JS正则表达式
查看>>
hdu4009最小树形图
查看>>
bzoj1009: [HNOI2008]GT考试 ac自动机+矩阵快速幂
查看>>
UVA 784 Maze Exploration
查看>>
UVA 10905 Children's Game
查看>>
ZOJ 2676 Network Wars
查看>>
网站字体的导入代码
查看>>
iOS中图像处理技术资料:
查看>>
SQL基础教程第三章笔记
查看>>