diff --git a/mediaqueries/Overview.bs b/mediaqueries/Overview.bs index 9240fbdbce6b..2e3511327907 100644 --- a/mediaqueries/Overview.bs +++ b/mediaqueries/Overview.bs @@ -1597,18 +1597,27 @@ Interaction Media Features - The 'pointer' and 'hover' features relate to the characteristics of the “primary” input mechanism, - while 'any-pointer' and 'any-hover' can be used to query the properties of all potentially available input mechanisms. + The 'pointer' and 'hover' features relate to the characteristics of the “primary” pointing device, + while 'any-pointer' and 'any-hover' can be used to query the properties of all potentially available pointing devices. - Note: While this specification does not define how User Agents should decide what the “primary” input is, - the expectation is that User Agents should make this determination + Note: While this specification does not define how user agents should decide what the “primary” pointing device is, + the expectation is that user agents should make this determination by combining knowledge about the device/environment they are running on, - the number and type of input mechanisms available, - and a notion of which of these inputs is generally and/or currently being used. - User Agents may also decide to dynamically change what type of input is deemed to be primary, + the number and type of pointing devices available, + and a notion of which of these is generally and/or currently being used. + In situations where the primary input mechanism for a device is not a pointing device, + but there is a secondary – and less frequently used – input that is a pointing devices, + the user agent may decide to treat the non-pointing device as the primary (resulting in 'pointer: none'). + user agents may also decide to dynamically change what type of pointing device is deemed to be primary, in response to changes in the user environment or in the way the user is interacting with the UA. + Note: The 'pointer', 'hover', 'any-pointer' and 'any-hover' features only relate to the characteristics, + or the complete absence, of pointing devices, + and can not be used to detect the presence of non-pointing device input mechanisms such as keyboards. + Authors should take into account the potential presence of non-pointing device inputs, + regardless of which values are matched when querying these features. +
- /* Make radio buttons and check boxes larger if we have an inaccurate pointing device */
+ /* Make radio buttons and check boxes larger if we have an inaccurate primary pointing device */
@media (pointer:coarse) {
input[type="checkbox"], input[type="radio"] {
min-width:30px;
@@ -1686,21 +1695,22 @@ Hover Capability: the 'hover' feature
Type: discrete
- The 'hover' media feature is used to query the user's ability to hover over elements on the page.
- If a device has multiple input mechanisms,
- the 'hover' media feature must reflect the characteristics of the “primary” input mechanism,
+ The 'hover' media feature is used to query the user's ability to hover over elements on the page
+ with the primary pointing device.
+ If a device has multiple pointing devices,
+ the 'hover' media feature must reflect the characteristics of the “primary” pointing device,
as determined by the user agent.
- (To query the capabilities of any available input mechanism,
+ (To query the capabilities of any available pointing devices,
see the 'any-hover' media feature.)