From 6bfdf00f17f6da1436708e68461ea42523a92de0 Mon Sep 17 00:00:00 2001 From: inoas Date: Tue, 6 Dec 2016 18:03:58 +0100 Subject: [PATCH] Add 'prefers-motion' media feature Implements Issue: #442 Alternative to #586 Having a good wording of the feature also gets around default value evaluating to true instead of false. Ref: #586 (comment) --- mediaqueries/Overview.bs | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/mediaqueries/Overview.bs b/mediaqueries/Overview.bs index f3ffcb53b75..f8577d74b40 100644 --- a/mediaqueries/Overview.bs +++ b/mediaqueries/Overview.bs @@ -1806,6 +1806,53 @@ All Available Interaction Capabilities: the 'any-pointer' and 'any-hover' featur or to hide them altogether to reduce visual clutter if ''(any-pointer: fine)'' is false. + + +

+User Preference Media Features

+ +

+Detecting the preference for less or no motion on the page: the 'prefers-motion' feature

+ +
+	Name: prefers-motion
+	Value: default | reduced | disabled
+	For: @media
+	Type: discrete
+	
+ + The 'prefers-motion' media feature is used to detect if the user + has requested the system minimize or disable the amount of animation + or motion it uses. + +
+
default +
+ Indicates that the user has made no preference known + to the system. This keyword value evaluates as true + in the boolean context. + +
reduced +
+ Indicates that user has notified the system that they + prefer an interface that minimizes the amount of movement + or animation, preferably to the point where all non-essential + movement is removed. +
disabled +
+ Indicates that user has notified the system that they + prefer an interface that disables movement or animation, + preferably to the point where all movement is removed. +
+