files/en-us/web/api/animation/index.md
{{ APIRef("Web Animations") }}
The Animation interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source.
{{InheritanceDiagram}}
Animation object instance.null.String used to identify the animation.0 and 1 indicating the animation's overall progress towards its finished state.style attribute."idle" play state from another state.Blinking and flashing animation can be problematic for people with cognitive concerns such as Attention Deficit Hyperactivity Disorder (ADHD). Additionally, certain kinds of motion can be a trigger for Vestibular disorders, epilepsy, and migraine, and Scotopic sensitivity.
Consider providing a mechanism for pausing or disabling animation, as well as using the Reduced Motion Media Query (or equivalent user agent client hint {{HTTPHeader("Sec-CH-Prefers-Reduced-Motion")}}) to create a complimentary experience for users who have expressed a preference for no animated experiences.
{{Specifications}}
{{Compat}}